mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 16:02:59 +01:00
use error message
This commit is contained in:
parent
148cf73003
commit
79bcbb8a10
@ -59,7 +59,7 @@ where
|
|||||||
Ok(r) => Either::A(ok(r)),
|
Ok(r) => Either::A(ok(r)),
|
||||||
Err((e, framed)) => Either::B(SendErrorFut {
|
Err((e, framed)) => Either::B(SendErrorFut {
|
||||||
framed: Some(framed),
|
framed: Some(framed),
|
||||||
res: Some(Message::Item(e.error_response())),
|
res: Some(Message::Item(e.response_with_message())),
|
||||||
err: Some(e),
|
err: Some(e),
|
||||||
_t: PhantomData,
|
_t: PhantomData,
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user