Debug a bit more status errors
This commit is contained in:
parent
1c1ccc8c7e
commit
d4d4da9eee
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue