diff options
author | Christopher Baines <mail@cbaines.net> | 2021-11-26 22:45:59 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2021-11-26 22:45:59 +0000 |
commit | 5660133bfa427b78ee13c13b70f42fb633f9a871 (patch) | |
tree | 8b6b68b1e6b6d5e8a83327700c4a28553cddb931 /guix-build-coordinator/coordinator.scm | |
parent | eab0d5e93e78357a4d8f1ac91b28040855f888b7 (diff) | |
download | build-coordinator-5660133bfa427b78ee13c13b70f42fb633f9a871.tar build-coordinator-5660133bfa427b78ee13c13b70f42fb633f9a871.tar.gz |
Don't log backtraces for chunked input issues in worker threads
As it's something that can be expected.
Diffstat (limited to 'guix-build-coordinator/coordinator.scm')
-rw-r--r-- | guix-build-coordinator/coordinator.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/guix-build-coordinator/coordinator.scm b/guix-build-coordinator/coordinator.scm index 5bb922a..672b332 100644 --- a/guix-build-coordinator/coordinator.scm +++ b/guix-build-coordinator/coordinator.scm @@ -218,7 +218,12 @@ ;; There are fibers issues when trying to read the chunked ;; requests, so do this in dedicated threads. (make-worker-thread-channel (const '()) - #:parallelism 8)) + #:parallelism 8 + #:log-exception? + (lambda (exn) + (not + (chunked-input-ended-prematurely-error? + exn))))) (substitutes-channel (make-worker-thread-channel (const '()) #:parallelism 2))) |