goatslacker / goatslacker/alt

Unhandled promise reject with with async datasource

Open
#447 13 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.4k
Forks
312
PR merge metrics
No merged PRs in 30d

Description

Using the `datasource` decoration on the store and when the `error` handler is called, it will callback through the action to the Store, but will also throw `Unhandled promise rejection ...`. Why is this? are we supposed to catch the thrown exception [here](https://github.com/goatslacker/alt/blob/master/src/alt/store/StoreMixin.js#L57)?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.