mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-05-29 22:39:11 +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)
|
.component('Kicker', Kicker)
|
||||||
|
|
||||||
// Global error handling
|
// Global error handling
|
||||||
import { useNotifyStore } from '@/stores/notify'
|
// import { useNotifyStore } from '@/stores/notify'
|
||||||
if (process.env.NODE_ENV != 'development') {
|
// if (process.env.NODE_ENV != 'development') {
|
||||||
app.config.errorHandler = (err) => {
|
// app.config.errorHandler = (err) => {
|
||||||
useNotifyStore().error(err)
|
// useNotifyStore().error(err)
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Helpers
|
// Helpers
|
||||||
// app.config.globalProperties.$helpers = helpers
|
// app.config.globalProperties.$helpers = helpers
|
||||||
|
Loading…
x
Reference in New Issue
Block a user