mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update app.js
This commit is contained in:
parent
b1808c3fd3
commit
8435e684cd
8
app.js
8
app.js
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user