This commit is contained in:
@@ -39,6 +39,12 @@ async function dealWithError(msg, vm) {
|
||||
//If a form instance was provided (vue instance)
|
||||
//and it can display and error then put the error into it
|
||||
if (!vm || vm.formState == undefined) {
|
||||
//Special work around to not redundantly display errors when AyaNova job fails
|
||||
// and Vue decides to throw it's own error into the mix when we've already displayed appropriate message
|
||||
if (msg.includes("Vue error") && msg.includes("Job failed")) {
|
||||
return;
|
||||
}
|
||||
|
||||
//popup if no place to display it elsewise
|
||||
window.$gz.eventBus.$emit("notify-error", msg);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user