diff --git a/src/user_facing_error.rs b/src/user_facing_error.rs index cc3a2299..8f88dc81 100644 --- a/src/user_facing_error.rs +++ b/src/user_facing_error.rs @@ -69,6 +69,7 @@ impl UserFacingError for ClientBuildError { fn to_user_facing(self) -> String { match self { ClientBuildError::Url(_) => gettext("This is not a valid URL"), + ClientBuildError::AutoDiscovery(_) => gettext("This does not appear to be a Matrix homeserver."), ClientBuildError::Http(err) => err.to_user_facing(), ClientBuildError::SledStore(err) => err.to_user_facing(), _ => gettext("An unknown error occurred."),