Open
Description
Vue version
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-3ux5cf?file=src/main.js
Steps to reproduce
https://vuejs.org/api/application.html#app-config-errorhandler says the info
parameter is a string.
From reproduction link:
- run
vite build
to build production version - run
vite preview
- look at the console -> it says
error info: 0
, which is a number, but should be a string
From stratch
- attach global error handler in the app and log the info into console there
- add some purposeful error into any vue file
- build the app for production
- run the app and look at the console
What is expected?
Either the type should be a string|number, or the runtime version should give a string info
What is actually happening?
type of info
is string in developement and number
in runtime.
System Info
No response
Any additional comments?
No response