Fix disabling of global error handler

This commit is contained in:
Bubka 2023-09-29 15:06:35 +02:00
parent f7826aff6b
commit 39281ec428

View File

@ -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)
}