mirror of https://github.com/M66B/FairEmail.git
Handle non existing namespaces
This commit is contained in:
parent
c12dc02a29
commit
10e69a44b5
|
@ -1367,7 +1367,11 @@ class Core {
|
|||
for (Folder namespace : namespaces) {
|
||||
Log.i("Namespace=" + namespace.getFullName());
|
||||
if (namespace.getSeparator() == separator)
|
||||
try {
|
||||
ifolders.addAll(Arrays.asList(namespace.list("*")));
|
||||
} catch (FolderNotFoundException ex) {
|
||||
Log.w(ex);
|
||||
}
|
||||
else
|
||||
Log.e("Namespace separator=" + namespace.getSeparator() + " default=" + separator);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue