fix: send unrecognized error on wrong http methods

This commit is contained in:
Timo Kösters
2022-10-15 00:28:43 +02:00
parent c948324cf2
commit 3a45628e1d
7 changed files with 40 additions and 10 deletions

View File

@@ -55,7 +55,9 @@ where
Err(e) => {
warn!(
"Could not send request to appservice {:?} at {}: {}",
registration.get("id"), destination, e
registration.get("id"),
destination,
e
);
return Err(e.into());
}