add logging
This commit is contained in:
parent
a7b0496d44
commit
8f67ee12f8
|
|
@ -116,7 +116,8 @@ export class ElectronApplication extends ChannelOwner<channels.ElectronApplicati
|
||||||
}
|
}
|
||||||
|
|
||||||
async close() {
|
async close() {
|
||||||
await this._context.close().catch(() => {});
|
// eslint-disable-next-line no-console
|
||||||
|
await this._context.close().catch(error => console.error(error));
|
||||||
}
|
}
|
||||||
|
|
||||||
async waitForEvent(event: string, optionsOrPredicate: WaitForEventOptions = {}): Promise<any> {
|
async waitForEvent(event: string, optionsOrPredicate: WaitForEventOptions = {}): Promise<any> {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue