Skip to content

Commit

Permalink
fix: ensure builds
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryET committed Jun 19, 2023
1 parent f52da5a commit d815010
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use {
},
axum::response::{IntoResponse, Response},
hyper::StatusCode,
std::fmt::format,
};

pub type Result<T> = std::result::Result<T, Error>;
Expand Down Expand Up @@ -453,8 +452,8 @@ impl IntoResponse for Error {
},
], vec![]),
e => {
warn!("Error does not have response clause, {:?}", Self);
warn!("Error does not have response clause, {:?}", e);

crate::handlers::Response::new_failure(StatusCode::INTERNAL_SERVER_ERROR, vec![
ResponseError {
name: "unknown_error".to_string(),
Expand Down

0 comments on commit d815010

Please sign in to comment.