mirror of
https://github.com/lunchcat/sif.git
synced 2026-06-12 19:11:25 -07:00
Return on failed scan
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user