diff --git a/lib/core/engine.js b/lib/core/engine.js index 2a055208..c8dd6c62 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -34,7 +34,10 @@ class Engine { if (this.interceptLogs || this.interceptLogs === undefined) { this.doInterceptLogs(); } - this.logger.registerAPICall(this.plugins); + // temporary fix + if (this.logger.registerAPICall) { + this.logger.registerAPICall(this.plugins); + } } doInterceptLogs() {