1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-17 07:15:13 +02: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) { 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) => { .subscribe((supported) => {
if (!supported) { if (!supported) {
this.logService.debug("SDK is not 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 { } else {
this.logService.debug("SDK is supported"); this.logService.debug("SDK is supported");
} }

View File

@ -858,7 +858,7 @@ export class ServiceContainer {
} }
if (!supported) { 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) => { .subscribe((supported) => {
if (!supported) { if (!supported) {
this.logService.debug("SDK is not 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 { } else {
this.logService.debug("SDK is supported"); this.logService.debug("SDK is supported");
} }

View File

@ -105,7 +105,7 @@ export class AppComponent implements OnDestroy, OnInit {
.subscribe((supported) => { .subscribe((supported) => {
if (!supported) { if (!supported) {
this.logService.debug("SDK is not 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 { } else {
this.logService.debug("SDK is supported"); this.logService.debug("SDK is supported");
} }