mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Replace the panic in the merge function by actual errors
This commit is contained in:
parent
8ed8abb9df
commit
cde8478388
5 changed files with 21 additions and 23 deletions
|
@ -377,7 +377,7 @@ pub fn run(opt: Opt) -> anyhow::Result<()> {
|
|||
|
||||
let meta = String::from("I am the metadata");
|
||||
let update_id = update_store.register_update(&meta, &mmap[..]).unwrap();
|
||||
update_status_sender.send(UpdateStatus::Pending { update_id, meta }).unwrap();
|
||||
let _ = update_status_sender.send(UpdateStatus::Pending { update_id, meta });
|
||||
eprintln!("update {} registered", update_id);
|
||||
|
||||
Ok(warp::reply())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue