From 363320b2d677bb9a50d943cc026077f606fc31be Mon Sep 17 00:00:00 2001 From: Thomas Amland Date: Tue, 11 Aug 2020 18:21:01 +0200 Subject: [PATCH] log errors to console --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index ae90269..57a0308 100644 --- a/src/main.ts +++ b/src/main.ts @@ -34,6 +34,7 @@ Vue.prototype.$auth = authService Vue.prototype.$api = api Vue.config.errorHandler = (err) => { + console.error(err) store.commit('setError', err) }