Skip to content

Commit

Permalink
I need more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
elegaanz committed Jul 24, 2024
1 parent 8751640 commit 83ca0f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/github/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ impl std::error::Error for ApiError {
impl Display for ApiError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
ApiError::Reqwest(_) => write!(f, "Network error"),
ApiError::Json(_) => write!(f, "JSON ser/de error"),
ApiError::Reqwest(e) => write!(f, "Network error: {:?}", e),
ApiError::Json(e) => write!(f, "JSON ser/de error: {:?}", e),
}
}
}
Expand Down

0 comments on commit 83ca0f9

Please sign in to comment.