log errors to console
This commit is contained in:
parent
d18f4f592e
commit
363320b2d6
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user