mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Improved debug info
This commit is contained in:
parent
6470c4f45c
commit
8f92b18a9f
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue