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:
parent
e9c567b897
commit
698af0b31e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue