From f7dd43c15fb386fa86c56159d247d5a20cb8b9c8 Mon Sep 17 00:00:00 2001 From: Dhrumil Mistry <56185972+dmdhrumilmistry@users.noreply.github.com> Date: Wed, 28 Aug 2024 01:23:03 +0530 Subject: [PATCH] handle issue #131 --- src/cmd/offat/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cmd/offat/main.go b/src/cmd/offat/main.go index 68a7bc7..7238115 100644 --- a/src/cmd/offat/main.go +++ b/src/cmd/offat/main.go @@ -84,7 +84,6 @@ func main() { log.Info().Msg("fuzzing doc http params") parser.FuzzDocHttpParams() - // log.Info().Msgf("%v", parser.Doc.GetDocHttpParams()) // http client httpCfg := http.NewConfig(config.RequestsPerSecond, config.SkipTlsVerification, config.Proxy) @@ -99,7 +98,7 @@ func main() { successCodes := []int{200, 301, 302, 400, 404, 405} if !utils.SearchInSlice(successCodes, resp.StatusCode) { - log.Fatal().Msgf("server returned %v instead of one of the values %v", resp.StatusCode, successCodes) + log.Error().Msgf("server returned %v instead of one of the values %v", resp.StatusCode, successCodes) } log.Info().Msgf("successfully connected to %v", url)