Skip to content

Commit 8295363

Browse files
committed
console.errors when in html serving mode
1 parent 631c692 commit 8295363

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/serve/error_page.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ ansiHTML.setColors({
2727
*/
2828
function errorPage(error/*: Error*/) {
2929
var errorText = error.toString();
30+
console.error(error);
3031
if (error.codeFrame) {
3132
errorText += '<pre>' + ansiHTML(error.codeFrame) + '</pre>';
3233
}

0 commit comments

Comments
 (0)