mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02: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
1 changed files with 2 additions and 0 deletions
|
@ -983,7 +983,9 @@ async fn main() -> anyhow::Result<()> {
|
||||||
});
|
});
|
||||||
|
|
||||||
let die_route = warp::filters::method::get().and(warp::path!("die")).map(move || {
|
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);
|
std::process::exit(0);
|
||||||
|
#[allow(unreachable_code)]
|
||||||
warp::reply()
|
warp::reply()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue