Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Tell developer which arguments were sent to tag #108

Merged
merged 1 commit into from

3 participants

@Almad

On error, report which arguments were sent.

This much improves debugging experience.

@travisbot

This pull request passes (merged f9c9092 into 2670e39).

@paularmstrong paularmstrong merged commit bdd15de into paularmstrong:master

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 3, 2012
  1. @Almad
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/parser.js
View
2  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(/^ /, '');
Something went wrong with that request. Please try again.