mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-05-28 14:07:15 +02:00
Disable global error handling at Vue level
This commit is contained in:
parent
0d15dd62fa
commit
bb263d1438
12
resources/js_vue3/app.js
vendored
12
resources/js_vue3/app.js
vendored
@ -77,12 +77,12 @@ app
|
||||
.component('Kicker', Kicker)
|
||||
|
||||
// Global error handling
|
||||
import { useNotifyStore } from '@/stores/notify'
|
||||
if (process.env.NODE_ENV != 'development') {
|
||||
app.config.errorHandler = (err) => {
|
||||
useNotifyStore().error(err)
|
||||
}
|
||||
}
|
||||
// import { useNotifyStore } from '@/stores/notify'
|
||||
// if (process.env.NODE_ENV != 'development') {
|
||||
// app.config.errorHandler = (err) => {
|
||||
// useNotifyStore().error(err)
|
||||
// }
|
||||
// }
|
||||
|
||||
// Helpers
|
||||
// app.config.globalProperties.$helpers = helpers
|
||||
|
Loading…
x
Reference in New Issue
Block a user