diff --git a/packages/vue/.changesets/fix-vue-error-handler-null-instance-and-file-fallback.md b/packages/vue/.changesets/fix-vue-error-handler-null-instance-and-file-fallback.md new file mode 100644 index 00000000..ce832e8f --- /dev/null +++ b/packages/vue/.changesets/fix-vue-error-handler-null-instance-and-file-fallback.md @@ -0,0 +1,8 @@ +--- +bump: patch +type: fix +--- + +Handle null instances and fall back to the SFC filename in the Vue error handler. + +Vue 3 invokes `app.config.errorHandler` with a null instance for errors raised outside a component context; the handler now reports those as `[unknown Vue component]` instead of throwing away the original error with a `TypeError` of its own. For components without an explicit `name` or `