mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 04:52:26 -05:00
revert change
This commit is contained in:
parent
adc9c2c050
commit
730755d865
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue