mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 13:10:06 +01:00
Fix error displaying of the workspace members
This commit is contained in:
parent
b59fe77ec7
commit
78bede1ffb
@ -179,18 +179,9 @@ enum Command {
|
||||
PatchToNewExternalIds,
|
||||
}
|
||||
|
||||
fn main() -> Result<(), ()> {
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let opt = Opt::from_args();
|
||||
match run(opt) {
|
||||
Ok(()) => Ok(()),
|
||||
Err(e) => {
|
||||
eprintln!("{}", e);
|
||||
Err(())
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
fn run(opt: Opt) -> anyhow::Result<()> {
|
||||
stderrlog::new()
|
||||
.verbosity(opt.verbose)
|
||||
.show_level(false)
|
||||
|
@ -39,18 +39,9 @@ pub struct Opt {
|
||||
print_facet_distribution: bool,
|
||||
}
|
||||
|
||||
fn main() -> Result<(), ()> {
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let opt = Opt::from_args();
|
||||
match run(opt) {
|
||||
Ok(()) => Ok(()),
|
||||
Err(e) => {
|
||||
eprintln!("{}", e);
|
||||
Err(())
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
fn run(opt: Opt) -> anyhow::Result<()> {
|
||||
stderrlog::new()
|
||||
.verbosity(opt.verbose)
|
||||
.show_level(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user