+3
slingshot/src/server.rs
+3
slingshot/src/server.rs
···
240
"sorry, something went wrong",
241
));
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
246
return GetRecordResponse::BadRequest(xrpc_error(
247
error,
248
format!("Upstream bad request: {message}"),