From 31b7e090170b840b2dc95a480c418996d1bfb753 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 19 Jan 2023 15:33:38 +0100 Subject: [PATCH] fix error handling to throw proper errors --- frontend/test/testSetup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/test/testSetup.js b/frontend/test/testSetup.js index 06e84b269..27317425f 100644 --- a/frontend/test/testSetup.js +++ b/frontend/test/testSetup.js @@ -70,6 +70,6 @@ console.warn = (m) => { } // throw errors for vue warnings to force the programmers to take care about warnings -Vue.config.warnHandler = (w) => { +Vue.config.warnHandler = async (w) => { throw new Error(w) }