mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-23 13:48:49 +00:00
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) {
|
if (this.interceptLogs || this.interceptLogs === undefined) {
|
||||||
utils.interceptLogs(console, this.logger);
|
utils.interceptLogs(console, this.logger);
|
||||||
}
|
}
|
||||||
this.logger.registerAPICall(this.plugins);
|
// temporary fix
|
||||||
|
if (this.logger.registerAPICall) {
|
||||||
|
this.logger.registerAPICall(this.plugins);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
registerModule(moduleName, options) {
|
registerModule(moduleName, options) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user