Skip to content

Commit f049ddc

Browse files
authored
chore: tighten compile error reporting
1 parent 7a9d4cf commit f049ddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ gulp.task('compileCore', (done) => {
2626
.then(() => done())
2727
.catch((ex) => {
2828
console.log(ex);
29-
done(new Error(`TypeScript compilation errors: ${ex}`));
29+
done(new Error(`TypeScript compilation errors: ${ex instanceof Error ? ex.message : ex}`));
3030
});
3131
});
3232

0 commit comments

Comments
 (0)