Skip to content

Commit 45ee9e4

Browse files
Merge pull request #1425 from rylev/better-log
Add PR number and commit to log for failed rollup merge
2 parents 4fd6d31 + b06bc89 commit 45ee9e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/src/github.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ async fn enqueue_unrolled_try_builds<'a>(
9292
&format!("Unrolled build for #{}", original_pr_number),
9393
)
9494
.await
95-
.map_err(|e| format!("Error merging commit into perf-tmp: {e:?}"))?;
95+
.map_err(|e| {
96+
format!("Error merging #{original_pr_number}'s commit '{rolled_up_head}' into perf-tmp: {e:?}")
97+
})?;
9698

9799
// Force the `try-perf` branch to point to what the perf-tmp branch points to
98100
client

0 commit comments

Comments
 (0)