From d4d4da9eee13ce4c9adf1fcb92725a18c1a0c256 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 2 Apr 2020 09:31:10 -0400 Subject: [PATCH] Debug a bit more status errors --- ofborg/src/tasks/evaluate.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ofborg/src/tasks/evaluate.rs b/ofborg/src/tasks/evaluate.rs index 2f13f9a..a1afdd6 100644 --- a/ofborg/src/tasks/evaluate.rs +++ b/ofborg/src/tasks/evaluate.rs @@ -174,12 +174,17 @@ impl<'a, E: stats::SysEvents + 'static> OneEval<'a, E> { let mut builder = hubcaps::statuses::StatusOptions::builder(state); builder.context("grahamcofborg-eval"); - builder.description(description); + builder.description(description.clone()); if let Some(url) = url { builder.target_url(url); } + info!( + "Updating status on {}:{} -> {}", + &self.job.pr.number, &self.job.pr.head_sha, &description + ); + self.repo .statuses() .create(&self.job.pr.head_sha, &builder.build())