Skip to content

Commit

Permalink
more generic error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kilork committed Sep 3, 2024
1 parent d4e6827 commit aa5713e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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} {}",
Expand Down

0 comments on commit aa5713e

Please sign in to comment.