Skip to content

Commit

Permalink
Throw an exception on error so that the grunt task can fail
Browse files Browse the repository at this point in the history
  • Loading branch information
pads committed May 15, 2013
1 parent 73ccf78 commit 7e07e65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/twikify.js
Expand Up @@ -106,6 +106,7 @@ twikify.run = function(passedUri, filename) {

request.on("error", function(error) {
console.log("There was a problem with the request: " + error.message);
throw error.message;
});

request.end();
Expand Down

0 comments on commit 7e07e65

Please sign in to comment.