mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 00:50:20 +02:00
store error for error response
This commit is contained in:
@@ -64,7 +64,7 @@ impl fmt::Display for Error {
|
||||
/// `HttpResponse` for `Error`
|
||||
impl From<Error> for HttpResponse {
|
||||
fn from(err: Error) -> Self {
|
||||
err.cause.error_response()
|
||||
HttpResponse::from_error(err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user