diff options
Diffstat (limited to 'src/github.rs')
-rw-r--r-- | src/github.rs | 7 |
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(¶ms) .send()?; + debug!("{}", response.url()); + debug!("{}", response.status()); + debug!("{}", response.headers()); + debug!("{}", response.text()?); + Ok(()) } |