Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Merge pull request #108 from apiaryio/improved-tag-reporting
Browse files Browse the repository at this point in the history
Tell developer which arguments were sent to tag
  • Loading branch information
paularmstrong committed Sep 4, 2012
2 parents 05e2d32 + f9c9092 commit bdd15de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser.js
Expand Up @@ -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(/^ /, '');
Expand Down

0 comments on commit bdd15de

Please sign in to comment.