summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 1b36404..276d0ff 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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,