From fc7158a428978e0e2796e567a48f46ac42b0bf77 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 3 Oct 2021 07:27:57 +0200 Subject: [PATCH] Improved logging --- app/src/main/java/eu/faircode/email/Core.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index c44aaeda72..5f4e9dc6b3 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -2121,7 +2121,14 @@ class Core { " fetched in " + duration + " ms"); if (ifolders.size() == 0) { - Log.e(account.host + " no folders listed"); + List ns = new ArrayList<>(); + if (personal == null) + ns.add(""); + else + for (Folder f : personal) + ns.add(f.getFullName()); + Log.e(account.host + " no folders listed" + + " namespaces=" + TextUtils.join(",", ns)); return; }