aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-01-20 12:31:46 +0000
committerChristopher Baines <mail@cbaines.net>2022-01-20 12:31:46 +0000
commit6b5a1487af61b2ecd59778713162a2982295728e (patch)
treed573549e9a4f39f79c9d30083d8452b6184b66f7
parente797945f532567207c59dae349f956a21e36ba46 (diff)
downloadbuild-coordinator-6b5a1487af61b2ecd59778713162a2982295728e.tar
build-coordinator-6b5a1487af61b2ecd59778713162a2982295728e.tar.gz
Add extra logging around the last failed attempt
To make it easier to find the backtraces.
-rw-r--r--guix-build-coordinator/utils.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/guix-build-coordinator/utils.scm b/guix-build-coordinator/utils.scm
index 7ab13e6..4c6d507 100644
--- a/guix-build-coordinator/utils.scm
+++ b/guix-build-coordinator/utils.scm
@@ -612,6 +612,11 @@ References: ~a~%"
times
delay)
(sleep delay)
+ (simple-format
+ (current-error-port)
+ "running last retry of ~A after ~A failed attempts\n"
+ f
+ attempt)
(f))
(begin
(simple-format