summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index cdb7d8dd0..bcc18511c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -72,9 +72,7 @@ impl log::Log for Logger {
}
fn print_err_and_exit(err: js_errors::JSError) {
- // TODO Currently tests depend on exception going to stdout. It should go
- // to stderr. https://github.com/denoland/deno/issues/964
- println!("{}", err.to_string());
+ eprintln!("{}", err.to_string());
std::process::exit(1);
}