Skip to content

Commit

Permalink
errors/reqwest: display error details
Browse files Browse the repository at this point in the history
This displays the error details in the error's string format.
  • Loading branch information
steveej committed Oct 5, 2020
1 parent e79b34c commit ac9d3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub enum Error {
HeaderParse(#[from] http::header::ToStrError),
#[error("json error")]
Json(#[from] serde_json::Error),
#[error("http transport error")]
#[error("http transport error: {0}")]
Reqwest(#[from] reqwest::Error),
#[error("URI parse error")]
Uri(#[from] url::ParseError),
Expand Down

0 comments on commit ac9d3d3

Please sign in to comment.