mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 08:11:04 +00:00
better exit on error
Update meilisearch-core/src/database.rs Co-authored-by: Clément Renault <renault.cle@gmail.com> Update meilisearch-core/src/database.rs Co-authored-by: Clément Renault <renault.cle@gmail.com>
This commit is contained in:
@ -51,7 +51,7 @@ async fn main() -> Result<(), MainError> {
|
||||
_ => unreachable!(),
|
||||
}
|
||||
|
||||
let data = Data::new(opt.clone());
|
||||
let data = Data::new(opt.clone())?;
|
||||
|
||||
if !opt.no_analytics {
|
||||
let analytics_data = data.clone();
|
||||
|
Reference in New Issue
Block a user