From aa5713e6c0fbd1a01a935520adda9e16de0b9cb3 Mon Sep 17 00:00:00 2001 From: Alexander Korolev Date: Tue, 3 Sep 2024 23:29:45 +0200 Subject: [PATCH] more generic error message --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index 24173c1..ed06bf3 100644 --- a/src/error.rs +++ b/src/error.rs @@ -23,7 +23,7 @@ impl Error for KeycloakError {} impl Display for KeycloakError { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { - KeycloakError::ReqwestFailure(e) => write!(f, "keycloak error (reqwest): {e}"), + KeycloakError::ReqwestFailure(e) => write!(f, "keycloak error (network): {e}"), KeycloakError::HttpFailure { status, body, text } => write!( f, "keycloak error (rest): {status} {}",