mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 04:02:29 +02:00
Better stacktrace of processing errorf
This commit is contained in:
@@ -1048,5 +1048,5 @@ func vipsApplyWatermark(img **C.VipsImage, opts *watermarkOptions) error {
|
||||
}
|
||||
|
||||
func vipsError() error {
|
||||
return errors.New(C.GoString(C.vips_error_buffer()))
|
||||
return newUnexpectedError(C.GoString(C.vips_error_buffer()), 1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user