1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-07 23:32:55 +02:00

More clear downloading timeout errors; Add image URL to fallback image usage warning

This commit is contained in:
DarthSim
2021-06-28 14:35:01 +06:00
parent 302bf64ea2
commit 56858a3692
3 changed files with 19 additions and 4 deletions

View File

@@ -185,7 +185,7 @@ func handleProcessing(reqID string, rw http.ResponseWriter, r *http.Request) {
reportError(err, r)
}
logWarning("Could not load image. Using fallback image: %s", err.Error())
logWarning("Could not load image %s. Using fallback image. %s", getImageURL(ctx), err.Error())
ctx = context.WithValue(ctx, imageDataCtxKey, fallbackImage)
}