This commit is contained in:
2019-11-06 01:06:27 +00:00
parent 20cd32ed3f
commit 71901c90ca
7 changed files with 28 additions and 56 deletions

View File

@@ -1,4 +1,4 @@
/* Xeslint-disable */
/* eslint-disable */
var devModeShowErrors = false;
@@ -7,6 +7,7 @@ var devModeShowErrors = false;
// Localize, Log and optionally display errors
// return localized message in case caller needs it
function dealWithError(msg, vm) {
debugger;
msg = window.$gz.locale.translateString(msg);
//In some cases the error may not be localizable, if this is not a debug run then it should show without the ?? that localizing puts in keys not found
//so it's not as wierd looking to the user