1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-01-01 21:08:43 +00:00

use error message

This commit is contained in:
Nikolay Kim 2018-10-30 11:50:30 -07:00
parent 148cf73003
commit 79bcbb8a10

View file

@ -59,7 +59,7 @@ where
Ok(r) => Either::A(ok(r)),
Err((e, framed)) => Either::B(SendErrorFut {
framed: Some(framed),
res: Some(Message::Item(e.error_response())),
res: Some(Message::Item(e.response_with_message())),
err: Some(e),
_t: PhantomData,
}),