mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 16:21:24 +01:00
send_request: fix error message
This commit is contained in:
parent
b4fecbc517
commit
df884ea2f2
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue