nginx-upload-module
nginx-upload-module copied to clipboard
upload_pass not called on error
Hello @fdintino, @vkholodkov ,
First of all, congratulations on this upload module that is very interesting.
On upload errors, the location hook defined within the upload_pass <location> directive is not called. In my application, I would like to perform internal operations when the upload fails.
The directive upload_cleanup <codes> does not accept a location to call on error.
Is there an existing option to implement a directive upload_error @error_hook for being notified on all errors ? Or maybe upload_cleanup <codes> <error_hook> ?
Thanks in advance.