Skip to content

Commit

Permalink
Better output of error.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-seville committed Nov 24, 2012
1 parent 61ea2be commit 4406167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -49,8 +49,8 @@ function TrvsCov(runner) {
runner.on('fail', function(test,err){
process.stdout.write("Tests failed.\n");
if (err){
process.stdout.write(err.message);
process.stdout.write(err.stack);
process.stdout.write(err.message.toString());
process.stdout.write(err.stack.toString());
}
process.exit(1);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,5 +1,5 @@
{
"version": "0.1.7",
"version": "0.1.8",
"name": "travis-cov",
"description": "Mocha/blanket coverage reporter for travis-ci.",
"keywords": [
Expand Down

0 comments on commit 4406167

Please sign in to comment.