From 2c8ac802eaf05590f495af4c668638b3894a423a Mon Sep 17 00:00:00 2001 From: hackademix Date: Thu, 17 Oct 2019 22:27:58 +0200 Subject: Fixed undefined variable error when in debugging mode. --- src/lib/Messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') 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 = { -- cgit v1.2.3