Improved logging

This commit is contained in:
M66B 2021-10-03 07:27:57 +02:00
parent 44690e8bfd
commit fc7158a428
1 changed files with 8 additions and 1 deletions

View File

@ -2121,7 +2121,14 @@ class Core {
" fetched in " + duration + " ms");
if (ifolders.size() == 0) {
Log.e(account.host + " no folders listed");
List<String> ns = new ArrayList<>();
if (personal == null)
ns.add("<null>");
else
for (Folder f : personal)
ns.add(f.getFullName());
Log.e(account.host + " no folders listed" +
" namespaces=" + TextUtils.join(",", ns));
return;
}