mirror of
https://github.com/DefectingCat/rua-list
synced 2025-07-15 16:51:31 +00:00
Update return when request failed
This commit is contained in:
@ -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(),
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user