From 235967844a8be2e3fa12157eecac97967e407bee Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sun, 22 May 2022 15:06:50 +0000 Subject: [PATCH] fix: throw error messages in dev mode (#1968) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1968 Reviewed-by: konrad Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 28b143d6b..7ccb391d6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -102,6 +102,7 @@ app.config.errorHandler = (err, vm, info) => { if (import.meta.env.DEV) { app.config.warnHandler = (msg, vm, info) => { error(msg) + throw(msg) } // https://stackoverflow.com/a/52076738/15522256