Skip to content

Commit f028c4f

Browse files
committed
cli: upgrade error events to ERROR level
1 parent 29d7007 commit f028c4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cli/rustup_mode.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use futures_util::stream::StreamExt;
2020
use indicatif::{MultiProgress, ProgressBar, ProgressStyle};
2121
use itertools::Itertools;
2222
use tokio::sync::Semaphore;
23-
use tracing::{info, trace, warn};
23+
use tracing::{error, info, warn};
2424
use tracing_subscriber::{EnvFilter, Registry, reload::Handle};
2525

2626
use crate::{
@@ -1895,10 +1895,10 @@ async fn display_version(current_dir: PathBuf, process: &Process) -> Result<()>
18951895
"the currently active `rustc` version is `{}`",
18961896
tc.rustc_version()
18971897
),
1898-
Err(err) => trace!("failed to display the current `rustc` version: {err}"),
1898+
Err(err) => error!("failed to display the current `rustc` version: {err}"),
18991899
},
19001900
Ok(None) => info!("no `rustc` is currently active"),
1901-
Err(err) => trace!("failed to display the current `rustc` version: {err}"),
1901+
Err(err) => error!("failed to display the current `rustc` version: {err}"),
19021902
}
19031903

19041904
Ok(())

0 commit comments

Comments
 (0)