diff --git a/src/errors.rs b/src/errors.rs index 140598a..780864d 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -12,7 +12,7 @@ impl IntoResponse for AppError { // Log error. error!("{:?}", self.0); - StatusCode::BAD_REQUEST.into_response() + (StatusCode::BAD_REQUEST, self.0.to_string()).into_response() } }