Update return when request failed

This commit is contained in:
DefectingCat
2023-05-02 17:00:44 +08:00
parent 55efa7b259
commit cd38360df6

View File

@ -38,7 +38,7 @@ async fn send_sms(
Err(err) => {
error!("Failed to request {} {err}", uri.path());
(
http::StatusCode::INTERNAL_SERVER_ERROR,
http::StatusCode::OK,
"Failed to request sms.aspx {err}".to_owned(),
)
}