Update webloader.js

This commit is contained in:
Namhyeon Go 2022-05-03 14:01:19 +09:00
parent 8942eea6df
commit 23fb7ddd0d

View File

@ -47,6 +47,18 @@ global.console._echo = function(args, type) {
}
this._messages.push(msg);
if (params.channel != "default" && this._echoCallback != null) {
try {
this._echoCallback(params, type);
} catch (e) {
window.jQuery.toast({
heading: "Error",
text: e.message,
icon: "error"
});
}
}
};
////////////////////////////////////////////////////////////////////////