diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -194,7 +194,11 @@ impl<'a> Images<'a> { } self.docker .stream_post::<Body>(&path.join("?"), None) - .and_then(|r| serde_json::from_slice::<Value>(&r[..]).map_err(Error::from)) + // todo: give this a proper enum type + .and_then(|r| { + println!("parsing {:?}", r); + serde_json::from_slice::<Value>(&r[..]).map_err(Error::from) + }) } /// exports a collection of named images, |