diff --git a/crates/core/app/src/app_version/component.rs b/crates/core/app/src/app_version/component.rs index d4429f4ab4..a525693f61 100644 --- a/crates/core/app/src/app_version/component.rs +++ b/crates/core/app/src/app_version/component.rs @@ -52,7 +52,7 @@ fn check_version(ctx: CheckContext, expected: u64, found: Option) -> anyhow } CheckContext::Migration => { let expected_name = version_to_software_version(expected); - let found_name = version_to_software_version(expected); + let found_name = version_to_software_version(found); let mut error = String::new(); error.push_str("app version mismatch:\n"); write!(