Skip to content

Commit

Permalink
fix(error): dont specify kind in text again
Browse files Browse the repository at this point in the history
the kind already contains this information
  • Loading branch information
EdJoPaTo committed Sep 10, 2024
1 parent 8d419b1 commit c670193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client_ureq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl Api {
match response.into_string() {
Ok(message) => serde_json::from_str(&message)
.map_err(|error| Error::Decode(format!("{error:?} : {message:?}"))),
Err(err) => Err(Error::Decode(format!("Failed to decode response: {err:?}"))),
Err(error) => Err(Error::Decode(format!("{error:?}"))),
}
}
}
Expand Down

0 comments on commit c670193

Please sign in to comment.