Skip to content

Commit

Permalink
handle issue #131
Browse files Browse the repository at this point in the history
  • Loading branch information
dmdhrumilmistry committed Aug 27, 2024
1 parent 42ac344 commit f7dd43c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cmd/offat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit f7dd43c

Please sign in to comment.