From 27e28435df28023da13716e860c6527988f357b4 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 31 Jul 2025 17:29:42 -0400 Subject: [PATCH] probably less than the minimal comment warranted --- slingshot/src/server.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slingshot/src/server.rs b/slingshot/src/server.rs index 1407e90..4d23998 100644 --- a/slingshot/src/server.rs +++ b/slingshot/src/server.rs @@ -240,6 +240,9 @@ impl Xrpc { "sorry, something went wrong", )); }; + + // all of the noise around here is so that we can ultimately reach this: + // upstream BadRequest extracted from the foyer result which we can proxy back return GetRecordResponse::BadRequest(xrpc_error( error, format!("Upstream bad request: {message}"), -- 2.51.2