This commit is contained in:
Richard Patel
2018-11-17 05:27:09 +01:00
parent f4054441ab
commit bfb18d62b2

View File

@@ -40,7 +40,7 @@ func (w WorkerContext) step(results chan<- File, job Job) {
if err != nil {
job.Fails++
if httpErr, ok := err.(HttpError); ok {
if httpErr, ok := err.(*HttpError); ok {
switch httpErr.code {
case
fasthttp.StatusFound,