aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/activate.rs3
-rw-r--r--src/main.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/activate.rs b/src/activate.rs
index a500a32..ae9e814 100644
--- a/src/activate.rs
+++ b/src/activate.rs
@@ -81,7 +81,7 @@ pub enum DeactivateError {
}
pub async fn deactivate(profile_path: &str) -> Result<(), DeactivateError> {
- error!("De-activating due to error");
+ warn!("De-activating due to error");
let nix_env_rollback_exit_status = Command::new("nix-env")
.arg("-p")
@@ -367,6 +367,7 @@ pub async fn activate(
info!("Activation succeeded!");
if magic_rollback {
+ info!("Magic rollback is enabled, setting up confirmation hook...");
match activation_confirmation(profile_path.clone(), temp_path, confirm_timeout, closure)
.await
{
diff --git a/src/main.rs b/src/main.rs
index 78bc933..91adae3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -478,7 +478,7 @@ enum RunError {
CheckDeploymentError(#[from] CheckDeploymentError),
#[error("Failed to evaluate deployment data: {0}")]
GetDeploymentDataError(#[from] GetDeploymentDataError),
- #[error("Error running deploy: {0}")]
+ #[error("{0}")]
RunDeployError(#[from] RunDeployError),
}