Skip to content

Commit af20dbc

Browse files
committed
Ignore check run error in try_complete_build
1 parent 68be4a0 commit af20dbc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/bors/handlers/workflow.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,13 @@ async fn try_complete_build(
203203
(CheckRunStatus::Completed, Some(CheckRunConclusion::Success))
204204
};
205205

206-
repo.client
206+
if let Err(error) = repo
207+
.client
207208
.update_check_run(check_run_id as u64, status, conclusion, None)
208-
.await?;
209+
.await
210+
{
211+
tracing::error!("Could not update check run {check_run_id}: {error:?}");
212+
}
209213
}
210214

211215
let message = if !has_failure {

0 commit comments

Comments
 (0)