This commit is contained in:
@@ -16,12 +16,13 @@ function dealWithError(msg, vm) {
|
||||
}
|
||||
window.$gz.store.commit("logItem", msg);
|
||||
if (devModeShowErrors) {
|
||||
//debugger;
|
||||
var errMsg =
|
||||
"DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" +
|
||||
msg;
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(errMsg);
|
||||
|
||||
window.$gz.eventBus.$emit("notify-error", errMsg);
|
||||
window.$gz.eventBus.$emit("notify-error", "Dev error see log / console");
|
||||
}
|
||||
|
||||
//If a form instance was provided (vue instance)
|
||||
|
||||
Reference in New Issue
Block a user