From ce27cfb30ff98818053bde2f1db6ed982586f59f Mon Sep 17 00:00:00 2001 From: Acrimon Date: Tue, 29 Dec 2020 01:21:09 +0100 Subject: [PATCH] update some error handling code --- voxygen/src/menu/main/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxygen/src/menu/main/mod.rs b/voxygen/src/menu/main/mod.rs index 37ffc6472a..8567047987 100644 --- a/voxygen/src/menu/main/mod.rs +++ b/voxygen/src/menu/main/mod.rs @@ -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