More detailed logs for json decode error.
This commit is contained in:
parent
7e5fae5377
commit
1abd073e43
|
@ -134,7 +134,7 @@ class Event {
|
|||
try {
|
||||
content = json.decode(jsonObj["content_json"]);
|
||||
} catch (e) {
|
||||
print("jsonObj decode of event content failed: ${e.toString()}");
|
||||
print("jsonObj decode of event content '${jsonObj["content_json"]}' failed: ${e.toString()}");
|
||||
content = {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue