log errors to console

This commit is contained in:
Thomas Amland 2020-08-11 18:21:01 +02:00
parent d18f4f592e
commit 363320b2d6

View File

@ -34,6 +34,7 @@ Vue.prototype.$auth = authService
Vue.prototype.$api = api Vue.prototype.$api = api
Vue.config.errorHandler = (err) => { Vue.config.errorHandler = (err) => {
console.error(err)
store.commit('setError', err) store.commit('setError', err)
} }