1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-30 07:49:04 +09:00
YuruToot/app/javascript/mastodon/actions/push_notifications
unarist 2c51bc0ca5 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.
2018-04-02 14:51:02 +02:00
..
index.js Rename key to path in actions and reducers for settings (#6105) 2018-01-02 13:50:54 +01:00
registerer.js Add missing rejection handling for Promises (#7008) 2018-04-02 14:51:02 +02:00
setter.js Rename key to path in actions and reducers for settings (#6105) 2018-01-02 13:50:54 +01:00