From 9b9aff3d9f31090a8c9dca754d8ac097302f9fe6 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 14 Sep 2020 07:39:35 +0200 Subject: [PATCH] Small error message improvement --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index bcdf43383e..d5d1d341ff 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -5788,13 +5788,13 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. } if (addr == null) - throw new IllegalArgumentException("addr not found"); + throw new IllegalArgumentException("Autocrypt: addr not found"); if (!addr.equalsIgnoreCase(peer)) - throw new IllegalArgumentException("addr different from peer"); + throw new IllegalArgumentException("Autocrypt: addr different from peer"); if (keydata == null) - throw new IllegalArgumentException("keydata not found"); + throw new IllegalArgumentException("Autocrypt: keydata not found"); AutocryptPeerUpdate update = AutocryptPeerUpdate.create( keydata, new Date(message.received), mutual);