More detailed logs for json decode error.

This commit is contained in:
Christian 2019-07-03 09:00:03 +00:00
parent 7e5fae5377
commit 1abd073e43
1 changed files with 1 additions and 1 deletions

View File

@ -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 = {};
}