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
properly reject promise in cloudinary provider #13992
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13992 +/- ##
==========================================
- Coverage 55.34% 49.38% -5.97%
==========================================
Files 1258 263 -995
Lines 31702 9287 -22415
Branches 5735 2019 -3716
==========================================
- Hits 17546 4586 -12960
+ Misses 12340 3877 -8463
+ Partials 1816 824 -992
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
e545e6b
to
9ddf2f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I tried with cloudinary. Works as expected
wrap image uploads with promise all
7514996
to
654e65c
Compare
ππ» What does it do?
@gvocale provided the solution for the issue already.
β Why is it needed?
Cloudinary errors were not handled properly, and the server was crashing.
π§ͺ How to test it?
You should see this error when trying to upload it:
π€ Concerns
PayloadTooLargeError
error (or any other) I see this log on the console:I am not understanding why it is appearing or how to prevent it.
π Related issue(s)/PR(s)
Let us know if this is related to any issue/pull request