From 6acf2ba52e7846663c1805da6c013b5c6530e551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Tue, 30 May 2023 17:54:06 +0200 Subject: [PATCH] Remove global error handler --- src/main.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main.ts b/src/main.ts index 06ff3b2..62278a3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -17,10 +17,4 @@ const app = createApp(App); registerPlugins(app); -app.config.errorHandler = (error) => { - if (import.meta.env.DEV) { - console.error(error); - } -}; - app.mount('#app');