1
0
Fork 0
mirror of https://codeberg.org/Mo8it/git-webhook-client synced 2024-11-23 11:11:36 +00:00

Show error

This commit is contained in:
Mo 2022-12-05 23:50:48 +01:00
parent 2c837e55d0
commit c17abf2e6a

View file

@ -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()
}
}