Browse Source

Only one line break before stacktrace

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
b3c0359b56
  1. 2
      src/node.cc

2
src/node.cc

@ -902,7 +902,7 @@ static void ReportException(TryCatch &try_catch, bool show_line) {
Handle<Message> message = try_catch.Message(); Handle<Message> message = try_catch.Message();
node::Stdio::DisableRawMode(STDIN_FILENO); node::Stdio::DisableRawMode(STDIN_FILENO);
fprintf(stderr, "\n\n"); fprintf(stderr, "\n");
if (show_line && !message.IsEmpty()) { if (show_line && !message.IsEmpty()) {
// Print (filename):(line number): (message). // Print (filename):(line number): (message).

Loading…
Cancel
Save