-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add more info to errors #57
Comments
This could be tricky as each storage service has a different way of structuring their error documents and the client library has no way of know how to handle it. What can be done however is to attach the parsed raw document that the server responds with to the error object. |
|
Consider this adhoc documentation
Note that the Any class 200 status code indicates success. Here's a one liner to set the metadata key using curl.
and don't forget to set CORS - and don't use * origin in prod..
These two curl commands should resolve the error message. |
It's a shame that it's really hard to override individual functions in this package. the |
For instance, all I see from this line
meteor-slingshot/lib/upload.js
Line 163 in 73055a7
is
and I have no idea what went wrong. But the
xhr
does have more informative fields:Thanks for this great package!
The text was updated successfully, but these errors were encountered: