diff --git a/client/src/gui/mod.rs b/client/src/gui/mod.rs index 54f935c8..e40fe030 100644 --- a/client/src/gui/mod.rs +++ b/client/src/gui/mod.rs @@ -251,7 +251,8 @@ impl Application for Airshipper { LauncherState::LoadingSave | LauncherState::Playing | LauncherState::Downloading(_) - | LauncherState::QueryingForUpdates => { + | LauncherState::QueryingForUpdates + | LauncherState::Error(_) => { play = play.style(style::PlayButtonDisabled); play = play.on_press(Interaction::Disabled); } diff --git a/client/src/network.rs b/client/src/network.rs index af25c2c9..6390341b 100644 --- a/client/src/network.rs +++ b/client/src/network.rs @@ -35,8 +35,8 @@ pub async fn get_version(profile: &Profile) -> Result { Ok(resp.text()?) } else { Err(format!( - "Couldn't download version information. Server returned '{}'", - resp.status() + "Couldn't download version information. Server returned: {}", + resp.text()? ) .into()) }