Skip to content

Commit

Permalink
Don't log null errors
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Apr 5, 2024
1 parent 4a725c0 commit 2e711a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,9 @@ function getStore(config, router) {
state.parents = parents;
},
showGlobalError(state, error) {
console.error(error);
if(error) {
console.error(error);
}
state.globalError = error;
}
},
Expand Down

0 comments on commit 2e711a3

Please sign in to comment.