Skip to content

Commit 74b92cf

Browse files
committed
Merge pull request #64 from cowwoc/issue-63
Print a stack-trace on error #63
2 parents 7b35af1 + 5f1c583 commit 74b92cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ module.exports = function (options) {
6969
out.push(errors.explainError(err, true));
7070
});
7171
} catch (err) {
72-
out.push(err.message.replace('null:', file.relative + ':'));
72+
out.push(err.stack.replace('null:', file.relative + ':'));
7373
}
7474

7575
cb(null, file);

0 commit comments

Comments
 (0)