diff options
author | Christopher Baines <mail@cbaines.net> | 2020-10-07 17:43:12 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-10-07 17:43:12 +0100 |
commit | e701d4d7f24a11d94cf504e7efbcee4e1091b092 (patch) | |
tree | 0de70d48e86af6dcb1279c90a845072c0d9fe88a | |
parent | f8b6efef040b5a7401d1b4baf22417ce5e7a1286 (diff) | |
download | build-coordinator-e701d4d7f24a11d94cf504e7efbcee4e1091b092.tar build-coordinator-e701d4d7f24a11d94cf504e7efbcee4e1091b092.tar.gz |
Fix missing bad-request procedure
-rw-r--r-- | guix-build-coordinator/agent-messaging/http/server.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix-build-coordinator/agent-messaging/http/server.scm b/guix-build-coordinator/agent-messaging/http/server.scm index 3038be0..0b2f963 100644 --- a/guix-build-coordinator/agent-messaging/http/server.scm +++ b/guix-build-coordinator/agent-messaging/http/server.scm @@ -43,6 +43,9 @@ #:use-module (guix-build-coordinator coordinator) #:export (http-agent-messaging-start-server)) +(define (bad-request message . args) + (throw 'bad-request message args)) + (define (fixed/read-request-body r) "Reads the request body from R, as a bytevector. Return â#fâ if there was no request body." |