Skip to content

Commit ee5f1ed

Browse files
author
Pedro Aim
committed
send error only on 429
1 parent 22cf55d commit ee5f1ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

email_mailbox/src/utils/electronEventInterface.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,8 +640,6 @@ const formEmailIfNotExists = async params => {
640640
});
641641
if (decryptResult.signalError) {
642642
if (external) {
643-
reportContentUnencryptedBob(decryptResult.signalError);
644-
645643
const reencryptRes = await reencryptEmail({
646644
metadataKey,
647645
eventid: rowid,
@@ -655,6 +653,7 @@ const formEmailIfNotExists = async params => {
655653
error: FATAL_ERROR
656654
};
657655
case 429:
656+
reportContentUnencryptedBob(decryptResult.signalError);
658657
break;
659658
default:
660659
return {

0 commit comments

Comments
 (0)