From bb263d1438cbda781d1053128284d8c9c70f5f7c Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Mon, 27 Nov 2023 13:20:38 +0100 Subject: [PATCH] Disable global error handling at Vue level --- resources/js_vue3/app.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/js_vue3/app.js b/resources/js_vue3/app.js index b6f023bd..4b996b3d 100644 --- a/resources/js_vue3/app.js +++ b/resources/js_vue3/app.js @@ -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