Skip to content
Snippets Groups Projects
Commit 2c51bc0c authored by unarist's avatar unarist Committed by Eugen Rochko
Browse files

Add missing rejection handling for Promises (#7008)

* Add eslint-plugin-promise to detect uncaught rejections

* Move alert generation for errors to actions/alert

* Add missing rejection handling for Promises

* Use catch() instead of onReject on then()

Then it will catches rejection from onFulfilled. This detection can be
disabled by `allowThen` option, though.
parent e7a17167
No related branches found
No related tags found
No related merge requests found
Showing with 84 additions and 44 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment