Skip to content

Conversation

@hiranya911
Copy link
Contributor

Currently these errors are simply swallowed and ignored. This PR handles them by logging the errors. Resolves #69.

…rrently these errors are simply swallowed and ignored. This PR handles them and logs.
Copy link

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks fine. Really, this should probably return a Task or something, but probably not worth the churn.

FWIW, I wonder if there may be a similar problem with listeners. I think on Android we counted on exceptions on the EventTarget thread crashing the app...

@hiranya911 hiranya911 assigned hiranya911 and unassigned mikelehen Sep 12, 2017
@hiranya911
Copy link
Contributor Author

It looks like the same applies for data events. They are also scheduled on EventTarget without any error handling. I can send another PR to fix that.

@hiranya911 hiranya911 merged commit 67f44b5 into master Sep 12, 2017
@hiranya911 hiranya911 deleted the hkj-repo-log branch September 12, 2017 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants