Return on failed scan

This commit is contained in:
Sol Fisher Romanoff
2023-09-02 22:36:31 +03:00
parent 82fd63d679
commit 9aebb23417
+1
View File
@@ -68,6 +68,7 @@ func Scan(url string, timeout time.Duration, logdir string) {
resp, err := client.Get(url + "/" + sanitizedRobot)
if err != nil {
log.Debugf("Error %s: %s", sanitizedRobot, err)
return
}
if resp.StatusCode != 404 {