mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-30 17:47:44 +01:00
add error handling to runtime.background messaging (#8949)
This commit is contained in:
parent
6ae086f89a
commit
3282b9b775
@ -85,7 +85,11 @@ export default class RuntimeBackground {
|
||||
this.messageListener.allMessages$
|
||||
.pipe(
|
||||
mergeMap(async (message: any) => {
|
||||
await this.processMessage(message);
|
||||
try {
|
||||
await this.processMessage(message);
|
||||
} catch (err) {
|
||||
this.logService.error(err);
|
||||
}
|
||||
}),
|
||||
)
|
||||
.subscribe();
|
||||
|
Loading…
Reference in New Issue
Block a user