mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Improved GnuPG error handling
This commit is contained in:
parent
c73e3637a3
commit
3d176d4e4f
9 changed files with 110 additions and 56 deletions
|
|
@ -587,10 +587,13 @@ export class MailMessageView extends AbstractViewRight {
|
|||
}
|
||||
} else {
|
||||
// TODO: translate
|
||||
alert('Decryption failed, canceled or not possible');
|
||||
throw 'Decryption failed, canceled or not possible';
|
||||
}
|
||||
})
|
||||
.catch(e => console.error(e));
|
||||
.catch(e => {
|
||||
console.error(e)
|
||||
alert(e.message);
|
||||
});
|
||||
}
|
||||
|
||||
pgpVerify(/*self, event*/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue