-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send errors on PUT after stream is returned #115
Comments
@bredar try to pass the instance of Error as first argument of callback: |
Problem is, first we do need to return the stream to allow uploading. Therefore the callback without the error was called already. The potential error we need to catch and return is after that, in the finish section. Calling the callback again with an error does not have an effect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have to do some actions, after a file is uploaded. This actions can fail. How to send an error to WebDAV in this case?
The text was updated successfully, but these errors were encountered: