We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b771a2 commit c34098cCopy full SHA for c34098c
src/error.rs
@@ -10,7 +10,7 @@ pub struct AppError(anyhow::Error);
10
// Tell axum how to convert `AppError` into a response.
11
impl IntoResponse for AppError {
12
fn into_response(self) -> Response {
13
- error!(error = ?self.0, "Returning Internal Server Error");
+ error!("Returning Internal Server Error: {:?}", self.0);
14
(
15
StatusCode::INTERNAL_SERVER_ERROR,
16
format!("Internal Server Error: {:?}", self.0),
0 commit comments