aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/github.rs3
-rw-r--r--src/jenkins.rs4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/github.rs b/src/github.rs
index 9b95192..44a4419 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -93,6 +93,9 @@ pub fn update_commit_status(
.json(&params)
.send()?;
+ debug!("{}", response.url());
+ debug!("{}", response.status());
+ debug!("{}", response.headers());
debug!("{}", response.text()?);
Ok(())
diff --git a/src/jenkins.rs b/src/jenkins.rs
index c954846..61d3bf1 100644
--- a/src/jenkins.rs
+++ b/src/jenkins.rs
@@ -231,7 +231,7 @@ pub fn get_jobs(
let body = response.text()?;
- debug!("{}", body);
+ // debug!("{}", body);
let jobs = json::parse(body.as_ref())?;
@@ -257,7 +257,7 @@ pub fn request_job(
let body = response.text()?;
- debug!("{}", body);
+ // debug!("{}", body);
let job = Job::new(body)?;