From 1abd073e43f5dfb1d0d3d902b9859a3ade2a489c Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 3 Jul 2019 09:00:03 +0000 Subject: [PATCH] More detailed logs for json decode error. --- lib/src/Event.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Event.dart b/lib/src/Event.dart index dcc04b6..7a2e569 100644 --- a/lib/src/Event.dart +++ b/lib/src/Event.dart @@ -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 = {}; }