From dc5edd4b622a1cc0761c1ffa3bc154f833b3c495 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 8 Oct 2022 11:18:54 +0100 Subject: Don't crash on chunked input exceptions --- guix-build-coordinator/agent-messaging/http/server.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix-build-coordinator') 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 -- cgit v1.2.3