First push
This commit is contained in:
7
sdkserver/src/services/errors.rs
Normal file
7
sdkserver/src/services/errors.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user