Skip to content

fix: correct errorMetadata property name from 'erroType' to 'errorType'#1568

Merged
mister-ben merged 1 commit intovideojs:mainfrom
SimonAllen0901:errorMetadata-typo
Mar 10, 2025
Merged

fix: correct errorMetadata property name from 'erroType' to 'errorType'#1568
mister-ben merged 1 commit intovideojs:mainfrom
SimonAllen0901:errorMetadata-typo

Conversation

@SimonAllen0901
Copy link
Copy Markdown
Contributor

Description

The erroType property in request.timedout is incorrectly named.

While reviewing error-handling behavior, I noticed an inconsistency in the property name. 🔍 Based on the surrounding code context, it should be errorType.

This fix ensures consistency with other error return formats😀

Specific Changes proposed

correct errorMetadata property name from erroType to errorType

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
  • Reviewed by Two Core Contributors

@welcome
Copy link
Copy Markdown

welcome Bot commented Mar 9, 2025

💖 Thanks for opening this pull request! 💖

Things that will help get your PR across the finish line:

  • Run npm run lint -- --errors locally to catch formatting errors earlier.
  • Include tests when adding/changing behavior.
  • Include screenshots and animated GIFs whenever possible.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.00%. Comparing base (91591ce) to head (cafe9a1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1568   +/-   ##
=======================================
  Coverage   84.00%   84.00%           
=======================================
  Files          44       44           
  Lines       11707    11707           
  Branches     2623     2623           
=======================================
  Hits         9834     9834           
  Misses       1873     1873           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mister-ben mister-ben merged commit 1e721c1 into videojs:main Mar 10, 2025
@welcome
Copy link
Copy Markdown

welcome Bot commented Mar 10, 2025

Congrats on merging your first pull request! 🎉🎉🎉

Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

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

#Was ok

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.

3 participants