mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Improved debug info
This commit is contained in:
@@ -1196,7 +1196,7 @@ public class Log {
|
||||
for (EntityAccount account : accounts)
|
||||
try {
|
||||
JSONObject jaccount = account.toJSON();
|
||||
jaccount.put("state", account.state);
|
||||
jaccount.put("state", account.state == null ? "null" : account.separator);
|
||||
jaccount.put("warning", account.warning);
|
||||
jaccount.put("error", account.error);
|
||||
|
||||
@@ -1222,8 +1222,8 @@ public class Log {
|
||||
jfolder.put("total", folder.total);
|
||||
jfolder.put("initialize", folder.initialize);
|
||||
jfolder.put("subscribed", folder.subscribed);
|
||||
jfolder.put("state", folder.state);
|
||||
jfolder.put("sync_state", folder.sync_state);
|
||||
jfolder.put("state", folder.state == null ? "null" : folder.state);
|
||||
jfolder.put("sync_state", folder.sync_state == null ? "null" : folder.sync_state);
|
||||
jfolder.put("read_only", folder.read_only);
|
||||
jfolder.put("selectable", folder.selectable);
|
||||
jfolder.put("inferiors", folder.inferiors);
|
||||
|
||||
Reference in New Issue
Block a user