summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorhackademix2019-09-30 07:57:49 +0200
committerhackademix2019-09-30 08:44:43 +0200
commit54dc58393a7922de27bf9f37f5f497a7f43d3131 (patch)
treeae6eae784a7127ae11842b72a7ca56c6fad165e9 /src/lib
parentf9f116e65cacc44de9148ed0d81773c7dc082417 (diff)
downloadnoscript-54dc58393a7922de27bf9f37f5f497a7f43d3131.tar.gz
noscript-54dc58393a7922de27bf9f37f5f497a7f43d3131.tar.xz
noscript-54dc58393a7922de27bf9f37f5f497a7f43d3131.zip
More verbose error logging while processing syncMessage listeners.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/SyncMessage.js2
1 files changed, 1 insertions, 1 deletions
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 {