Skip to content

Commit 7174d9f

Browse files
committed
Log axum anyhow errors using Debug impl
1 parent 6991b23 commit 7174d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct AppError(anyhow::Error);
1717

1818
impl IntoResponse for AppError {
1919
fn into_response(self) -> Response {
20-
tracing::error!("error={}", &self.0);
20+
tracing::error!("{:?}", &self.0);
2121
(
2222
StatusCode::INTERNAL_SERVER_ERROR,
2323
format!("Something went wrong: {}", self.0),

0 commit comments

Comments
 (0)