-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve promise error handling (#196)
* Add explicit catches and re-throw errors for every promise This way the promise failures will hopefully become rejections of the async functions they are in rather than "Uncaught (in promise)" errors that bubble up to the top. * Remove gitnews typedef file since we no longer use it * Add more explicit catches * Add try/catch to performFetch even though it should already be caught * Add more logging to try to determine where the uncaught exception is
- Loading branch information
1 parent
81f5099
commit 1c1d688
Showing
4 changed files
with
79 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
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
This file was deleted.
Oops, something went wrong.
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