Skip to content
Snippets Groups Projects
Commit 746bf8ec authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] errors: also log in the console

parent 155dd2f5
Branches
No related tags found
No related merge requests found
......@@ -14,6 +14,9 @@ Vue.config.productionTip = false
Vue.config.errorHandler = (err, vm, info) => {
// Log error in console
console.error(err)
vm.$bvToast.toast(`${err.message}`, {
title: 'Error',
variant: 'danger',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment