Commit 7c26443d authored by Brad King's avatar Brad King 💬 Committed by Kitware Robot
Browse files

Merge topic 'log-gitlab-response'

516f342e

 gitlab: log the JSON response from gitlab

Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Brad King's avatarBrad King <brad.king@kitware.com>
Merge-request: !55
parents af9ba32b 516f342e
......@@ -442,6 +442,10 @@ impl Gitlab {
Ok(rsp) => {
let v = try!(rsp.from_json().map_err(Error::Ease));
debug!(target: "gitlab",
"received data: {}",
v);
Ok(try!(serde_json::from_value::<T>(v)))
},
Err(err) => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment