Fix decrypt error message

This commit is contained in:
the-djmaze 2024-02-28 19:45:14 +01:00
parent 6e56808a0d
commit df963e3537

View file

@ -587,7 +587,7 @@ export class MailMessageView extends AbstractViewRight {
}
} else {
// TODO: translate
throw 'Decryption failed, canceled or not possible';
throw Error('Decryption failed, canceled or not possible');
}
})
.catch(e => {