mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
enable errors in updates
This commit is contained in:
parent
56686dee40
commit
1e4592dd7e
7 changed files with 52 additions and 86 deletions
|
@ -86,7 +86,7 @@ impl UpdateHandler {
|
|||
|
||||
match result {
|
||||
Ok(result) => Ok(meta.process(result)),
|
||||
Err(e) => Err(meta.fail(e.to_string())),
|
||||
Err(e) => Err(meta.fail(e.into())),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue