diff --git a/src/errors.rs b/src/errors.rs index 83e56ee..2106a8f 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -8,7 +8,7 @@ impl IntoResponse for AppError { fn into_response(self) -> Response { error!("{:?}", self.0); - StatusCode::BAD_REQUEST.into_response() + (StatusCode::BAD_REQUEST, format!("{:?}", self.0)).into_response() } }