[console.js] Add logging method from common.js
This commit is contained in:
parent
fa1a194b71
commit
a947263c0b
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ utils.script = {
|
|||
},
|
||||
safely: function (s) {
|
||||
if (window.debug) {
|
||||
return "try { " + s + " } catch(e) { Logger.JSError(e); }";
|
||||
return "try { " + s + " } catch(e) { logger.JSError(e); }";
|
||||
}
|
||||
return "try { " + s + " } catch(e) { }";
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue