mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Improved logging
This commit is contained in:
parent
f690dfdab1
commit
730c9aed8e
1 changed files with 4 additions and 2 deletions
|
@ -556,8 +556,10 @@ public class MessageHelper {
|
|||
|
||||
if (EntityMessage.PGP_SIGNENCRYPT.equals(message.ui_encrypt) ||
|
||||
EntityMessage.SMIME_SIGNENCRYPT.equals(message.ui_encrypt)) {
|
||||
Log.e("Storing unencrypted message");
|
||||
throw new IllegalArgumentException("Storing unencrypted message");
|
||||
String msg = "Storing unencrypted message" +
|
||||
" encrypt=" + message.encrypt + "/" + message.ui_encrypt;
|
||||
Log.e(msg);
|
||||
throw new IllegalArgumentException(msg);
|
||||
}
|
||||
|
||||
build(context, message, attachments, identity, send, imessage);
|
||||
|
|
Loading…
Reference in a new issue