aboutsummaryrefslogtreecommitdiff
path: root/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'script.js')
-rw-r--r--script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/script.js b/script.js
index f7612779..12f00cb1 100644
--- a/script.js
+++ b/script.js
@@ -41,7 +41,7 @@ function runCallback(x, m) {
try {
x(m);
} catch (e) {
- (console.error || console.log).call(console, e.message, e);
+ console.error("error running callback", x, ":", e);
}
}
function executeCallbacks(queue, m) {