app.config.errorHandler does not handle an error thrown in computed since [email protected] #11286
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
Vue version
3.4.31
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-x6adme?file=package.json%3AL12&terminal=dev
Steps to reproduce
What is expected?
app.config.errorHandler
handles an error thrown incomputed
, and the following message is shown in the Console panel.What is actually happening?
app.config.errorHandler
does not handle an error thrown incomputed
, and the following message is shown in the Console panel.System Info
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.20.3 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.2.3 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpm npmPackages: vue: 3.4.31 => 3.4.31
Any additional comments?
The error thrown in a callback of
computed
is handled byapp.config.errorHandler
in Vue 3.3.13.https://stackblitz.com/edit/vitejs-vite-pmkxsy?file=package.json%3AL12-L12
The text was updated successfully, but these errors were encountered: