From fede228894d07b87b4d6b3e5ba131f90ad7d3a65 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 12 Dec 2022 08:21:46 -0800 Subject: [PATCH] Better uninstall version error (#113) * More useful error message on version incompat * Even more useful --- src/plan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plan.rs b/src/plan.rs index 97e3e3e..6925c5d 100644 --- a/src/plan.rs +++ b/src/plan.rs @@ -283,7 +283,7 @@ fn ensure_version<'de, D: Deserializer<'de>>(d: D) -> Result Ok(plan_version) } else { Err(D::Error::custom(&format!( - "This version of Harmonic ({harmonic_version}) is not compatible with this plan's version ({plan_version}), please use a compatible version (according to Semantic Versioning)", + "This version of Harmonic ({harmonic_version}) is not compatible with this plan's version ({plan_version}), check for a compatible version at `/nix/harmonic` or download the matching release from https://github.com/DeterminateSystems/harmonic/releases", ))) } }