diff --git a/lib/core/engine.js b/lib/core/engine.js index 34a0041f..5cc976b1 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -35,7 +35,10 @@ class Engine { if (this.interceptLogs || this.interceptLogs === undefined) { utils.interceptLogs(console, this.logger); } - this.logger.registerAPICall(this.plugins); + // temporary fix + if (this.logger.registerAPICall) { + this.logger.registerAPICall(this.plugins); + } } registerModule(moduleName, options) {