Handle non existing namespaces

This commit is contained in:
M66B 2020-06-09 18:43:17 +02:00
parent c12dc02a29
commit 10e69a44b5
1 changed files with 5 additions and 1 deletions

View File

@ -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);
}