Skip to content

Commit

Permalink
chore: clarify version mismatch message
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-zlobintsev committed Nov 16, 2024
1 parent a26bcec commit f832369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lact-gui/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl AsyncComponent for AppModel {
let devices = devices_buf.inner().expect("Could not access devices");

if system_info.version != GUI_VERSION || system_info.commit.as_deref() != Some(GIT_COMMIT) {
let err = anyhow!("Version mismatch between GUI and daemon ({GUI_VERSION}-{GIT_COMMIT} vs {}-{})! Make sure you have restarted the service if you have updated LACT.", system_info.version, system_info.commit.as_deref().unwrap_or_default());
let err = anyhow!("Version mismatch between GUI and daemon ({GUI_VERSION}-{GIT_COMMIT} vs {}-{})! If you have updated LACT, you need to restart the service with `sudo systemctl restart lactd`.", system_info.version, system_info.commit.as_deref().unwrap_or_default());
sender.input(AppMsg::Error(err.into()));
}

Expand Down

0 comments on commit f832369

Please sign in to comment.