twitterchiver/relatedfetcher: fix directionality of is-not-found check
This commit is contained in:
parent
7a48bccf36
commit
8d7c6dfa2c
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ func mediaFetchTick(ctx context.Context, cfg WorkerConfig) error {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.Printf("[%v:%d:%v] %v already exists but has zero size; refetching", cfg.Name, t.ID, u, out)
|
log.Printf("[%v:%d:%v] %v already exists but has zero size; refetching", cfg.Name, t.ID, u, out)
|
||||||
} else if gcerrors.Code(err) == gcerrors.NotFound {
|
} else if gcerrors.Code(err) != gcerrors.NotFound {
|
||||||
log.Printf("[%v:%d:%v] checking output path %v: %v", cfg.Name, t.ID, u, out, err)
|
log.Printf("[%v:%d:%v] checking output path %v: %v", cfg.Name, t.ID, u, out, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue