Update app.js

This commit is contained in:
Namhyeon Go 2022-02-25 16:17:29 +09:00
parent b1808c3fd3
commit 8435e684cd

8
app.js
View File

@ -98,13 +98,13 @@ var console = {
// after calling echo
if (['error', 'info', 'warn'].indexOf(type) > -1 && typeof this._echoCallback === "function") {
try {
this._echoCallback(params);
} catch (e) {
try {
this._echoCallback(params);
} catch (e) {
if (typeof WScript !== "undefined") {
WScript.echo(" * Exception of _echoCallback:", e.message);
}
}
}
}
},
assert: function(assertion) {