summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/errors.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs
index a02836a..ef23ad3 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -77,7 +77,7 @@ impl fmt::Display for Error {
Error::InvalidResponse(ref cause) => {
write!(f, "Response doesn't have the expected format: {}", cause)
}
- Error::Fault { code, .. } => write!(f, "{}", code),
+ Error::Fault { code, message } => write!(f, "{}: {}", code, message),
Error::ConnectionNotUpgraded => write!(
f,
"expected the docker host to upgrade the HTTP connection but it did not"