-
Notifications
You must be signed in to change notification settings - Fork 240
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
Throw error if upload file or metadata to ChainSafe IPFS fails #951
Comments
Issue is related to #949 |
I'm getting a different response unity side when uploading the same metadata file twice
|
Looks like we will need this ticket to be done first ChainSafe/ui-monorepo#2270 |
will check back later then, i can just make it throw based on the returned class members value, no probs. |
My bad, this is for the Storage UI, not the API. |
Describe the bug
If you are using IPFS samples and a failed response happens from Storage API, we are not catching that error and we return the IPFS anyways, so the dev doesn't now that something failed.
Steps
Steps to reproduce the behavior:
Expected behavior
Console errors
This is the API response in case of a conflict:
Screenshots/Video
The text was updated successfully, but these errors were encountered: