From c17abf2e6a2b71f03d4aa0712bc2d0d0c0a3173e Mon Sep 17 00:00:00 2001 From: Mo8it Date: Mon, 5 Dec 2022 23:50:48 +0100 Subject: [PATCH] Show error --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } }