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

Preserve error details in script.onerror #83

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

Conversation

pinksynth
Copy link

Description

Currently this onerror handler discards potentially valuable information from the original error (event, source, lineno, colno, error). My change adds this information via a details property.

Motivation

In our app, we get a surprising number of player script could not be downloaded errors and this change would allow devs to understand the issue better.

Thanks!

Currently this `onerror` handler discards potentially valuable information from the original error (`event`, `source`, `lineno`, `colno`, `error`). This change adds this information via a `details` property.
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