Skip to content

Commit 2ca32fd

Browse files
committed
Better error reporting
fixes #65
1 parent 2308d7d commit 2ca32fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ function runSequence(gulp) {
5353

5454
var error;
5555
if (e && e.err) {
56-
error = new gutil.PluginError('run-sequence', {
57-
message: 'An error occured in task \'' + e.task + '\'.'
58-
});
56+
var err = new gutil.PluginError('run-sequence(' + e.task + ')', e, {showStack: true});
5957
}
6058

6159
if(callBack) {

0 commit comments

Comments
 (0)