1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-15 06:57:58 +02:00

Fix log service not binding this

This commit is contained in:
Hinton 2024-10-14 20:39:28 -07:00
parent a884fcf664
commit c52ef1385b
No known key found for this signature in database
GPG Key ID: 5F7295599C5D965C
5 changed files with 5 additions and 5 deletions

View File

@ -1340,7 +1340,7 @@ export default class MainBackground {
}
if (!supported) {
this.sdkService.failedToInitialize().catch(this.logService.error);
this.sdkService.failedToInitialize().catch((e) => this.logService.error(e));
}
}

View File

@ -81,7 +81,7 @@ export class AppComponent implements OnInit, OnDestroy {
.subscribe((supported) => {
if (!supported) {
this.logService.debug("SDK is not supported");
this.sdkService.failedToInitialize().catch(this.logService.error);
this.sdkService.failedToInitialize().catch((e) => this.logService.error(e));
} else {
this.logService.debug("SDK is supported");
}

View File

@ -858,7 +858,7 @@ export class ServiceContainer {
}
if (!supported) {
this.sdkService.failedToInitialize().catch(this.logService.error);
this.sdkService.failedToInitialize().catch((e) => this.logService.error(e));
}
}
}

View File

@ -167,7 +167,7 @@ export class AppComponent implements OnInit, OnDestroy {
.subscribe((supported) => {
if (!supported) {
this.logService.debug("SDK is not supported");
this.sdkService.failedToInitialize().catch(this.logService.error);
this.sdkService.failedToInitialize().catch((e) => this.logService.error(e));
} else {
this.logService.debug("SDK is supported");
}

View File

@ -105,7 +105,7 @@ export class AppComponent implements OnDestroy, OnInit {
.subscribe((supported) => {
if (!supported) {
this.logService.debug("SDK is not supported");
this.sdkService.failedToInitialize().catch(this.logService.error);
this.sdkService.failedToInitialize().catch((e) => this.logService.error(e));
} else {
this.logService.debug("SDK is supported");
}