mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-23 23:49:53 +01:00
Fix disabling of global error handler
This commit is contained in:
parent
f7826aff6b
commit
39281ec428
2
resources/js_vue3/app.js
vendored
2
resources/js_vue3/app.js
vendored
@ -71,7 +71,7 @@ app
|
||||
|
||||
// Global error handling
|
||||
import { useNotifyStore } from '@/stores/notify'
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
if (process.env.NODE_ENV != 'development') {
|
||||
app.config.errorHandler = (err) => {
|
||||
useNotifyStore().error(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user