mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 13:40:31 +01:00
remove a warning and add a log
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
a57e522a67
commit
4562b278a8
@ -983,7 +983,9 @@ async fn main() -> anyhow::Result<()> {
|
||||
});
|
||||
|
||||
let die_route = warp::filters::method::get().and(warp::path!("die")).map(move || {
|
||||
eprintln!("Killed by an HTTP request received on the die route");
|
||||
std::process::exit(0);
|
||||
#[allow(unreachable_code)]
|
||||
warp::reply()
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user