This commit is contained in:
Henry Jameson 2026-06-30 23:52:11 +03:00
commit d1f67f0889
6 changed files with 28 additions and 25 deletions

View file

@ -468,7 +468,12 @@ const afterStoreSetup = async ({ pinia, store, storageError, i18n }) => {
app.use(pinia)
app.config.errorHandler = (error, instance, info) => {
console.error('Global Vue Error Handler caught an error:', error, instance, info)
console.error(
'Global Vue Error Handler caught an error:',
error,
instance,
info,
)
useInterfaceStore().setGlobalError({ error, instance, info })
}