1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 04:52:26 -05:00

revert change

This commit is contained in:
Luca Casonato 2021-01-19 15:01:53 +01:00
parent adc9c2c050
commit 730755d865
No known key found for this signature in database
GPG key ID: 789878CF6382A84F

View file

@ -1249,7 +1249,7 @@ fn unwrap_or_exit<T>(result: Result<T, AnyError>) -> T {
"{}: {}",
colors::red_bold("error"),
// TODO(lucacasonato): print anyhow error chain here
error.root_cause().to_string().trim()
error.to_string().trim()
);
eprintln!("{}", msg);
std::process::exit(1);