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

Hosted video's errors in Sentry #13423

Merged
merged 3 commits into from Jun 28, 2016
Merged

Hosted video's errors in Sentry #13423

merged 3 commits into from Jun 28, 2016

Conversation

Calanthe
Copy link

What does this change?

The video's errors on hosted pages need to be sent to Sentry, so we can analyze how many users have problems with displaying videos.

Screenshots

screen shot 2016-06-28 at 11 01 49

var err = player.error();
if (err && 'message' in err && 'code' in err) {
reportError(new Error(err.message), {
feature: 'player',
Copy link
Contributor

Choose a reason for hiding this comment

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

Worth having this as hosted-player?

@jamesgorrie
Copy link
Contributor

👍

@Calanthe Calanthe merged commit 8c67993 into master Jun 28, 2016
@Calanthe Calanthe deleted the hosted-errors-sentry branch June 28, 2016 11:04
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