From bc3281051030c54bf6bae5390b9ef82e5d6940b7 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 10 Feb 2021 20:50:07 +0100 Subject: [PATCH] Improved error message --- app/src/main/java/eu/faircode/email/Core.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 1d375edb63..dfef349326 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1028,7 +1028,7 @@ class Core { if (folder.id.equals(target.id)) throw new IllegalArgumentException("self"); if (!target.selectable) - throw new IllegalArgumentException("not selectable"); + throw new IllegalArgumentException("not selectable type=" + target.type); // De-classify for (EntityMessage message : messages)