Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/docsPublic

docs: explain default error handler behaviour#3320

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ST-DDT wants to merge1 commit intovuejs:main
base:main
Choose a base branch
Loading
fromST-DDT:docs/error-handler/default

Conversation

@ST-DDT
Copy link

@ST-DDTST-DDT commentedDec 10, 2025
edited
Loading

Description of Problem

Currently, it is very hard to understand how the default error handler behaves.

  • It throws during development, triggering the global error handler.
  • It only logs/does not throw in production, causing error events missing in the error reporting loop.
  • The difference in behavior causes confusion

Proposed Solution

Explicitly mention the default behaviour and link to properties to configure this.
Feel free to suggest improvements or different solutions.

Preview:https://deploy-preview-3320--vuejs.netlify.app/api/application.html#app-config-errorhandler

Additional Information

I spend multiple hours trying to detect why no errors were reported to our monitoring solution.
In the end, I had to look into the default error handler source code to become aware of the throwunhandlederrorinproduction property.
During my search I didn't find any other part in the documentation mentioning this behavior, the errorhandler and throwunhandlederrorinproduction properties being separated by a bunch of other properties didn't help either.

@netlify
Copy link

netlifybot commentedDec 10, 2025
edited
Loading

Deploy Preview forvuejs ready!

NameLink
🔨 Latest commitcf38567
🔍 Latest deploy loghttps://app.netlify.com/projects/vuejs/deploys/6939f6b09dfec4000829095a
😎 Deploy Previewhttps://deploy-preview-3320--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify project configuration.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@ST-DDT

[8]ページ先頭

©2009-2025 Movatter.jp