update some error handling code

This commit is contained in:
Acrimon 2020-12-29 01:21:09 +01:00
parent c07844ba52
commit ce27cfb30f
No known key found for this signature in database
GPG Key ID: FE567F46AFBDF3AE

View File

@ -174,7 +174,7 @@ impl PlayState for MainMenuState {
format!("{}: {}", localized_strings.get("common.error"), e)
},
client::Error::AuthClientError(e) => match e {
client::AuthClientError::JsonError(e) => format!(
client::AuthClientError::InvalidUrl(e) => format!(
"{}: {}",
localized_strings.get("common.fatal_error"),
e