Make self-test errors a warning only (#587)
This commit is contained in:
parent
ff20fc04b3
commit
55cbf41a00
|
@ -7,6 +7,7 @@ use uninstall::Uninstall;
|
|||
mod self_test;
|
||||
use self_test::SelfTest;
|
||||
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[derive(Debug, clap::Subcommand)]
|
||||
pub enum NixInstallerSubcommand {
|
||||
Plan(Plan),
|
||||
|
|
|
@ -228,7 +228,7 @@ impl InstallPlan {
|
|||
.await?;
|
||||
}
|
||||
|
||||
Err(err)
|
||||
tracing::warn!("{err:?}")
|
||||
} else {
|
||||
#[cfg(feature = "diagnostics")]
|
||||
if let Some(diagnostic_data) = &self.diagnostic_data {
|
||||
|
@ -240,9 +240,9 @@ impl InstallPlan {
|
|||
)
|
||||
.await?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[tracing::instrument(level = "debug", skip_all)]
|
||||
|
|
Loading…
Reference in a new issue