use a proper function for this instead of checking 200
Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
@@ -79,7 +79,7 @@ where
|
||||
Vec::new().into()
|
||||
}); // TODO: handle timeout
|
||||
|
||||
if status != 200 {
|
||||
if !status.is_success() {
|
||||
warn!(
|
||||
"Appservice returned bad response {} {}\n{}\n{:?}",
|
||||
destination,
|
||||
|
||||
Reference in New Issue
Block a user