diff --git a/lib/core/engine.js b/lib/core/engine.js index 1c90f693..0b458411 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -45,7 +45,7 @@ class Engine { }, 0); if (this.interceptLogs || this.interceptLogs === undefined) { - // this.doInterceptLogs(); + this.doInterceptLogs(); } } diff --git a/lib/process/processWrapper.js b/lib/process/processWrapper.js index 4bb093c9..594eaa6f 100644 --- a/lib/process/processWrapper.js +++ b/lib/process/processWrapper.js @@ -30,6 +30,7 @@ class ProcessWrapper { context.console.log = this._log.bind(this, 'log'); context.console.warn = this._log.bind(this, 'warn'); + context.console.error = this._log.bind(this, 'error'); context.console.info = this._log.bind(this, 'info'); context.console.debug = this._log.bind(this, 'debug'); context.console.trace = this._log.bind(this, 'trace');