Skip to content

Commit

Permalink
More helpful error message
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Oct 27, 2013
1 parent e6a082b commit 188282f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/sources/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ GitSource.prototype._clone = function(fn) {
if (!fs.existsSync(this.sourcePath)) {
exec('git clone ' + self.url + ' "' + this.sourcePath + '"', function(err, stdout, stderr) {
if (err)
throw "There was a problem cloning repo: " + self.url;
throw "There was a problem cloning repo: " + self.url +
"\nPlease check https://github.com/oortcloud/meteorite/blob/master/CONTRIBUTING.md#troubleshooting for potential explanations.";
fn();
});
} else {
Expand Down

0 comments on commit 188282f

Please sign in to comment.