mirror of
https://github.com/Luzifer/preserve.git
synced 2024-12-29 22:01:22 +00:00
Fix: Log URL which cannot be refreshed
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9821a219a3
commit
7a61e1e970
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -92,7 +92,7 @@ func handleCache(w http.ResponseWriter, r *http.Request, uri string, update bool
|
||||||
|
|
||||||
metadata, err = renewCache(uri)
|
metadata, err = renewCache(uri)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithError(err).Warn("Unable to refresh file")
|
logger.WithError(err).Warn("Unable to refresh file")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue