aboutsummaryrefslogtreecommitdiffstats
path: root/src/github.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-16 01:24:03 +0100
committerTeddy Wing2017-11-16 01:24:03 +0100
commite2bee679dc288acce66c930b77a007ce62e3e9f1 (patch)
treecebaa759d58e68a0d35bf764418dd899f43c0ebb /src/github.rs
parent5146511cca4aed7768e05269ef8840a10df336c7 (diff)
parentdf9b4dbd7aa8401b0e488c99c49205bc39dc5a80 (diff)
downloadkipper-e2bee679dc288acce66c930b77a007ce62e3e9f1.tar.bz2
Merge branch 'better-logging'
Diffstat (limited to 'src/github.rs')
-rw-r--r--src/github.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/github.rs b/src/github.rs
index 4267468..44a4419 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -69,7 +69,7 @@ pub fn update_commit_status(
params.insert("description", d);
}
- client.post(
+ let mut response = client.post(
&format!(
"{}/repos/{}/{}/statuses/{}",
API_URL,
@@ -93,6 +93,11 @@ pub fn update_commit_status(
.json(&params)
.send()?;
+ debug!("{}", response.url());
+ debug!("{}", response.status());
+ debug!("{}", response.headers());
+ debug!("{}", response.text()?);
+
Ok(())
}