You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Force unhandled errors to be thrown in production mode.
649
+
650
+
- **Type:** `boolean`
651
+
652
+
- **Default:** `false`
653
+
654
+
- **Details**
655
+
656
+
By default, errors thrown inside a Vue application but not explicit handled have different behavior between development and production modes:
657
+
658
+
- In development, the error is thrown and can possibly crash the application. This is to make the error more prominent so that it can be noticed and fixed during development.
659
+
660
+
- In production, the error will only be logged to the console to minimize the impact to end users. However, this may prevent errors that only happen in production from being caught by error monitoring services.
661
+
662
+
By setting `app.config.throwUnhandledErrorInProduction` to `true`, unhandled errors will be thrown even in production mode.
0 commit comments