add temporary fix to cases where logger doesnt have certain methods
This commit is contained in:
parent
a43d1dc5ff
commit
58c77019c4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue