1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-25 07:23:03 +00:00

Improved error message

This commit is contained in:
M66B 2023-02-04 09:14:28 +01:00
parent e9c567b897
commit 698af0b31e

View file

@ -1420,7 +1420,7 @@ class Core {
if (target == null)
throw new FolderNotFoundException();
if (folder.id.equals(target.id))
throw new IllegalArgumentException("self");
throw new IllegalArgumentException("self type=" + folder.type + "/" + target.type);
if (!target.selectable)
throw new IllegalArgumentException("not selectable type=" + target.type);