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

revert: Revert #7067 so we throw an error for invalid event types #7719

Merged
merged 1 commit into from
May 16, 2022

Conversation

alex-barstow
Copy link
Contributor

Description

Reverts #7067 which replaced throwing an error with logging an error. If we get an invalid event type we really should throw because it indicates something has gone wrong.

@codecov
Copy link

codecov bot commented Apr 8, 2022

Codecov Report

Merging #7719 (e3a44d0) into next (f20aa9a) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             next    #7719      +/-   ##
==========================================
- Coverage   80.88%   80.87%   -0.01%     
==========================================
  Files         116      116              
  Lines        7454     7451       -3     
  Branches     1806     1804       -2     
==========================================
- Hits         6029     6026       -3     
  Misses       1425     1425              
Impacted Files Coverage Δ
src/js/mixins/evented.js 98.33% <100.00%> (-0.05%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f20aa9a...e3a44d0. Read the comment docs.

@misteroneill misteroneill merged commit 1a3fb5b into videojs:next May 16, 2022
misteroneill pushed a commit that referenced this pull request May 19, 2022
)

BREAKING CHANGE: Instead of logging an error message, invalid events will now trigger an `Error` which will terminate the call stack.
misteroneill pushed a commit that referenced this pull request May 23, 2022
)

BREAKING CHANGE: Instead of logging an error message, invalid events will now trigger an `Error` which will terminate the call stack.
misteroneill pushed a commit that referenced this pull request Nov 23, 2022
)

BREAKING CHANGE: Instead of logging an error message, invalid events will now trigger an `Error` which will terminate the call stack.
misteroneill pushed a commit that referenced this pull request Nov 23, 2022
)

BREAKING CHANGE: Instead of logging an error message, invalid events will now trigger an `Error` which will terminate the call stack.
edirub pushed a commit to edirub/video.js that referenced this pull request Jun 8, 2023
…pes (videojs#7719)

BREAKING CHANGE: Instead of logging an error message, invalid events will now trigger an `Error` which will terminate the call stack.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants