-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(storage, android): correctly catch native exceptions for Promise.…
…reject Previously if you sent undefined in as a URL, or a URL that was unparseable, the native android code would throw IllegalArgumentException, which would crash the app with a native exception. Now those exceptions are caught and bubbled up to the javascript layer correctly as a promise rejection Fixes #4097
- Loading branch information
Showing
1 changed file
with
120 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters