Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Event handler errors are silently swallowed #187

Closed
kriszyp opened this issue Jun 22, 2016 · 1 comment · Fixed by #234
Closed

Event handler errors are silently swallowed #187

kriszyp opened this issue Jun 22, 2016 · 1 comment · Fixed by #234

Comments

@kriszyp
Copy link
Member

kriszyp commented Jun 22, 2016

The return statement inside the finally block in the emit causes thrown errors to be caught and silently ignored:
https://github.com/SitePen/dstore/blob/1.x/Store.js#L141

Ideally it would be nice if we were not catching errors at all, to avoid interrupting the error stack, but at the very least if we are going to be catching errors, we should at least report them with some console output so they don't just silently disappear.

@xmedeko
Copy link

xmedeko commented Feb 19, 2020

Very annoying bug, it's very hard to hunt bugs - swallowed errors.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants