mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 09:51:35 +02:00
Fix disabling of global error handler
This commit is contained in:
2
resources/js_vue3/app.js
vendored
2
resources/js_vue3/app.js
vendored
@@ -71,7 +71,7 @@ app
|
|||||||
|
|
||||||
// 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)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user