Also log modal errors to the console
This commit is contained in:
parent
b23d6043c5
commit
c1ed5d0c87
1 changed files with 1 additions and 0 deletions
|
|
@ -130,6 +130,7 @@ Vue.mixin({
|
||||||
modalError: function(error) {
|
modalError: function(error) {
|
||||||
var errormsg = this.getErrorMessage(error);
|
var errormsg = this.getErrorMessage(error);
|
||||||
this.$store.commit("setErrorMessage", errormsg);
|
this.$store.commit("setErrorMessage", errormsg);
|
||||||
|
console.log("Modal error:", error);
|
||||||
UIkit.notification({
|
UIkit.notification({
|
||||||
message: `${errormsg}`,
|
message: `${errormsg}`,
|
||||||
status: "danger"
|
status: "danger"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue