mirror of
https://codeberg.org/Mo8it/git-webhook-client
synced 2024-11-21 11:06:32 +00:00
Show error
This commit is contained in:
parent
2c837e55d0
commit
c17abf2e6a
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue