From 54dc58393a7922de27bf9f37f5f497a7f43d3131 Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 30 Sep 2019 07:57:49 +0200 Subject: More verbose error logging while processing syncMessage listeners. --- src/lib/SyncMessage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/SyncMessage.js b/src/lib/SyncMessage.js index eb654c5..a34bbae 100644 --- a/src/lib/SyncMessage.js +++ b/src/lib/SyncMessage.js @@ -78,7 +78,7 @@ try { if ((result = l(JSON.parse(msg), sender)) !== undefined) break; } catch (e) { - console.error(e); + console.error(e, "Processing message %o from %o", msg, sender); } } return { -- cgit v1.2.3