1
0
mirror of https://github.com/glitch-soc/mastodon.git synced 2025-02-16 07:33:51 -05:00
unarist 2c51bc0ca5 Add missing rejection handling for Promises ()
* 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.
2018-04-02 14:51:02 +02:00
..