Files
robinsr/sdkserver/src/services/errors.rs

8 lines
207 B
Rust
Raw Normal View History

2024-03-29 09:46:31 +03:00
use axum::http::{StatusCode, Uri};
use axum::response::IntoResponse;
pub async fn not_found(uri: Uri) -> impl IntoResponse {
tracing::warn!("unhandled http request: {uri}");
StatusCode::NOT_FOUND
}