Added logging

pull/182/head
M66B 5 years ago
parent 20ec5d1087
commit 5b2dbea130

@ -1365,8 +1365,10 @@ class Core {
Folder[] isubscribed = defaultFolder.listSubscribed("*");
for (Folder ifolder : isubscribed) {
String fullName = ifolder.getFullName();
if (TextUtils.isEmpty(fullName))
if (TextUtils.isEmpty(fullName)) {
Log.e("Subscribed folder name empty namespace=" + defaultFolder.getFullName());
continue;
}
subscription.add(fullName);
Log.i("Subscribed " + defaultFolder.getFullName() + ":" + fullName);
}
@ -1398,8 +1400,10 @@ class Core {
Folder[] isubscribed = namespace.listSubscribed("*");
for (Folder ifolder : isubscribed) {
String fullName = ifolder.getFullName();
if (TextUtils.isEmpty(fullName))
if (TextUtils.isEmpty(fullName)) {
Log.e("Subscribed folder name empty namespace=" + namespace.getFullName());
continue;
}
subscription.add(fullName);
Log.i("Subscribed " + namespace.getFullName() + ":" + fullName);
}

Loading…
Cancel
Save