fix: throw in warnHandler

This commit is contained in:
Dominik Pschenitschni 2024-06-10 20:36:23 +02:00
parent 917cbf9cb6
commit 81bb49f83a
Signed by untrusted user: dpschen
GPG Key ID: B257AC0149F43A77

View File

@ -77,7 +77,7 @@ setLanguage(browserLanguage).then(() => {
if (import.meta.env.DEV) {
app.config.warnHandler = (msg) => {
error(msg)
throw(msg)
throw msg
}
// https://stackoverflow.com/a/52076738/15522256