summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhackademix2019-10-17 22:27:58 +0200
committerhackademix2019-10-17 22:27:58 +0200
commit2c8ac802eaf05590f495af4c668638b3894a423a (patch)
treec8ab28a02a81ca5d8abb52e229fa9d3ef9a92baf
parentca87f093cbc5a148629c1e7f20ac58f0e715b9f2 (diff)
downloadnoscript-2c8ac802eaf05590f495af4c668638b3894a423a.tar.gz
noscript-2c8ac802eaf05590f495af4c668638b3894a423a.tar.xz
noscript-2c8ac802eaf05590f495af4c668638b3894a423a.zip
Fixed undefined variable error when in debugging mode.
-rw-r--r--src/lib/Messages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Messages.js b/src/lib/Messages.js
index 56d6bf2..5443acd 100644
--- a/src/lib/Messages.js
+++ b/src/lib/Messages.js
@@ -25,7 +25,7 @@
answers.length === 1 ? answers.pop(): Promise.all(answers)
);
}
- debug("Warning: no handler for message %s %s in context %s", name, JSON.stringify(msg), context);
+ debug("Warning: no handler for message %s %s in context %s", name, JSON.stringify(msg), document.URL);
};
var Messages = {