because lint said so

This commit is contained in:
Antoni Sawicki 2019-06-17 00:21:32 -07:00
parent 1b68593fd2
commit ce51eb6226
1 changed files with 1 additions and 2 deletions

3
wrp.go
View File

@ -185,12 +185,11 @@ func capture(gourl string, w int64, h int64, s float64, co int, p int64, i bool,
log.Printf("%s Contex cancelled, try again", c)
fmt.Fprintf(out, "<BR>%s<BR> -- restarting, try again", err)
ctx, cancel = chromedp.NewContext(context.Background())
return
} else {
log.Printf("%s %s", c, err)
fmt.Fprintf(out, "<BR>%s<BR>", err)
return
}
return
}
log.Printf("%s Landed on: %s, Nodes: %d\n", c, loc, len(nodes))