+3
slingshot/src/server.rs
+3
slingshot/src/server.rs
···
240
240
"sorry, something went wrong",
241
241
));
242
242
};
243
+
244
+
// all of the noise around here is so that we can ultimately reach this:
245
+
// upstream BadRequest extracted from the foyer result which we can proxy back
243
246
return GetRecordResponse::BadRequest(xrpc_error(
244
247
error,
245
248
format!("Upstream bad request: {message}"),