1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-06-17 22:37:33 +02:00

IMGPROXY_REPORT_DOWNLOADING_ERRORS config

This commit is contained in:
DarthSim
2019-10-01 15:18:37 +06:00
parent cc5d3804fb
commit 0de6fc0aa6
5 changed files with 15 additions and 9 deletions

View File

@ -31,8 +31,8 @@ func (e *imgproxyError) StackTrace() []uintptr {
return e.stack
}
func (e *imgproxyError) MarkAsUnexpected() *imgproxyError {
e.Unexpected = true
func (e *imgproxyError) SetUnexpected(u bool) *imgproxyError {
e.Unexpected = u
return e
}