1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00

Fix log service not binding this (#11551)

This commit is contained in:
Oscar Hinton 2024-10-15 18:21:08 +02:00 committed by GitHub
parent e5ca6fd460
commit 55ee33206f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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");
}