1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 08:22:59 +01:00

display parse error for ws client errors

This commit is contained in:
Nikolay Kim 2018-11-28 09:02:31 -10:00
parent 617b8557e1
commit 06387fc778

View File

@ -37,7 +37,7 @@ pub enum ClientError {
#[fail(display = "Http parsing error")]
Http(HttpError),
/// Response parsing error
#[fail(display = "Response parsing error")]
#[fail(display = "Response parsing error: {}", _0)]
ParseError(ParseError),
/// Protocol error
#[fail(display = "{}", _0)]