Improve error reporting when EventIndex fails on a supported environment
This commit is contained in:
parent
78b1f6c0b1
commit
5104d7bed8
3 changed files with 21 additions and 1 deletions
|
@ -31,6 +31,7 @@ class EventIndexPeg {
|
|||
constructor() {
|
||||
this.index = null;
|
||||
this._supportIsInstalled = false;
|
||||
this.error = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -96,6 +97,7 @@ class EventIndexPeg {
|
|||
await index.init();
|
||||
} catch (e) {
|
||||
console.log("EventIndex: Error initializing the event index", e);
|
||||
this.error = e;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue