Merge pull request #2586 from gradido/fix-error-handling

fix(frontend): throw proper frontend warning errors
This commit is contained in:
Ulf Gebhardt 2023-01-19 15:52:06 +01:00 committed by GitHub
commit 802d0b4efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}