diff options
author | Christopher Baines <mail@cbaines.net> | 2022-10-08 11:18:54 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-10-08 11:18:54 +0100 |
commit | dc5edd4b622a1cc0761c1ffa3bc154f833b3c495 (patch) | |
tree | 181d5c3bcf9c730794d0521e9b77e2791f29dde7 /guix-build-coordinator/agent-messaging | |
parent | cfff883c6eaf8cd5885c2b69ed9f8f48e4433a78 (diff) | |
download | build-coordinator-dc5edd4b622a1cc0761c1ffa3bc154f833b3c495.tar build-coordinator-dc5edd4b622a1cc0761c1ffa3bc154f833b3c495.tar.gz |
Don't crash on chunked input exceptions
Diffstat (limited to 'guix-build-coordinator/agent-messaging')
-rw-r--r-- | guix-build-coordinator/agent-messaging/http/server.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-build-coordinator/agent-messaging/http/server.scm b/guix-build-coordinator/agent-messaging/http/server.scm index ef6cc76..16d42ea 100644 --- a/guix-build-coordinator/agent-messaging/http/server.scm +++ b/guix-build-coordinator/agent-messaging/http/server.scm @@ -683,7 +683,7 @@ port. Also, the port used can be changed by passing the --port option.\n" #:code 400)) ((chunked-input-ended-prematurely-error? exn) (render-json - `((error . ,(agent-error-details exn))) + `((error . chunked-input-ended-prematurely)) #:code 400)) (else (render-json |