Skip to content

Commit

Permalink
Remove trim and recoloring error message
Browse files Browse the repository at this point in the history
Closes #22
  • Loading branch information
floatdrop committed Oct 2, 2014
1 parent fc0a1dd commit 02f6788
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Expand Up @@ -31,8 +31,9 @@ function defaultErrorHandler(error) {
// onerror2 and this handler
if (EE.listenerCount(this, 'error') < 3) {
gutil.log(
gutil.colors.cyan('Plumber') + ' found unhandled error:',
gutil.colors.red(error.toString().trim()));
gutil.colors.cyan('Plumber') + gutil.colors.red(' found unhandled error:'),
error.toString()
);
}
}

Expand Down

0 comments on commit 02f6788

Please sign in to comment.