mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 20:22:31 +02:00
Better error metrics
This commit is contained in:
@@ -53,7 +53,10 @@ func (p pipeline) Run(ctx context.Context, img *vips.Image, po *options.Processi
|
||||
if err := step(&pctx, img, po, imgdata); err != nil {
|
||||
return err
|
||||
}
|
||||
router.CheckTimeout(ctx)
|
||||
|
||||
if err := router.CheckTimeout(ctx); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user