send_request: fix error message

This commit is contained in:
Lambda 2024-07-07 10:10:21 +00:00
parent b4fecbc517
commit df884ea2f2

View file

@ -188,9 +188,9 @@ where
warn!( warn!(
%error, %error,
actual_destination = actual_destination_str, actual_destination = actual_destination_str,
"Failed to find destination", "Failed to serialize request",
); );
Error::BadServerResponse("Invalid destination") Error::BadServerResponse("Invalid request")
})?; })?;
let mut request_map = serde_json::Map::new(); let mut request_map = serde_json::Map::new();