Permalink
Browse files

Tell user which arguments were sent to tag

  • Loading branch information...
1 parent 2670e39 commit f9c9092d043613713b0308bed59f1576994ea7da @Almad Almad committed Sep 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/parser.js
View
@@ -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(/^ /, '');

0 comments on commit f9c9092

Please sign in to comment.