Handle non existing namespaces

pull/180/head
M66B 5 years ago
parent c12dc02a29
commit 10e69a44b5

@ -1367,7 +1367,11 @@ class Core {
for (Folder namespace : namespaces) {
Log.i("Namespace=" + namespace.getFullName());
if (namespace.getSeparator() == separator)
ifolders.addAll(Arrays.asList(namespace.list("*")));
try {
ifolders.addAll(Arrays.asList(namespace.list("*")));
} catch (FolderNotFoundException ex) {
Log.w(ex);
}
else
Log.e("Namespace separator=" + namespace.getSeparator() + " default=" + separator);
}

Loading…
Cancel
Save