1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

[PM-7229] Fix circular dependency in ErrorHandler (#8573)

* call injector explicitly in ErrorHandler

* Fallback to `super` on early error

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

---------

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>,
This commit is contained in:
Will Martin
2024-04-02 10:21:01 -04:00
committed by GitHub
parent 22cca018f8
commit a201e9cff1
2 changed files with 14 additions and 6 deletions

View File

@@ -1075,7 +1075,7 @@ const safeProviders: SafeProvider[] = [
safeProvider({
provide: ErrorHandler,
useClass: LoggingErrorHandler,
deps: [LogService],
deps: [],
}),
];