Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: reject Promises with Error objects #213

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

kpcurai
Copy link

@kpcurai kpcurai commented Oct 18, 2023

Addresses #211.

Certain browsers (I've observed it in DuckDuckGo Mobile 5) will throw an error if a Promise is rejected with a non-Error object. HTMLElements call onerror with an Event subclass argument, not an error object, so this is causing some noise and losing context for debugging.

@akanoce
Copy link

akanoce commented Mar 26, 2024

Any chance to get this merged ? I'm experiencing the same issue mentioned in #211

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

Successfully merging this pull request may close these issues.

None yet

2 participants