From f9c9092d043613713b0308bed59f1576994ea7da Mon Sep 17 00:00:00 2001 From: Almad Date: Mon, 3 Sep 2012 13:08:37 +0200 Subject: [PATCH] Tell user which arguments were sent to tag --- lib/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/parser.js b/lib/parser.js index 01366908..0f29500b 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -57,7 +57,7 @@ function getTokenArgs(token, parts) { } if (!end.test(out)) { - throw new Error('Malformed arguments sent to tag.'); + throw new Error('Malformed arguments ' + out + ' sent to tag.'); } return out.replace(/^ /, '');