mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
add early exit to native messaging flow for errors
This commit is contained in:
@@ -359,6 +359,12 @@ export class NativeMessagingBackground {
|
||||
cancelButtonText: null,
|
||||
type: "danger",
|
||||
});
|
||||
|
||||
// Exit early
|
||||
if (this.resolver) {
|
||||
this.resolver(message);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// Verify key is correct by attempting to decrypt a secret
|
||||
|
||||
Reference in New Issue
Block a user