mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +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,
|
PatchToNewExternalIds,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> Result<(), ()> {
|
fn main() -> anyhow::Result<()> {
|
||||||
let opt = Opt::from_args();
|
let opt = Opt::from_args();
|
||||||
match run(opt) {
|
|
||||||
Ok(()) => Ok(()),
|
|
||||||
Err(e) => {
|
|
||||||
eprintln!("{}", e);
|
|
||||||
Err(())
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn run(opt: Opt) -> anyhow::Result<()> {
|
|
||||||
stderrlog::new()
|
stderrlog::new()
|
||||||
.verbosity(opt.verbose)
|
.verbosity(opt.verbose)
|
||||||
.show_level(false)
|
.show_level(false)
|
||||||
|
@ -39,18 +39,9 @@ pub struct Opt {
|
|||||||
print_facet_distribution: bool,
|
print_facet_distribution: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> Result<(), ()> {
|
fn main() -> anyhow::Result<()> {
|
||||||
let opt = Opt::from_args();
|
let opt = Opt::from_args();
|
||||||
match run(opt) {
|
|
||||||
Ok(()) => Ok(()),
|
|
||||||
Err(e) => {
|
|
||||||
eprintln!("{}", e);
|
|
||||||
Err(())
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn run(opt: Opt) -> anyhow::Result<()> {
|
|
||||||
stderrlog::new()
|
stderrlog::new()
|
||||||
.verbosity(opt.verbose)
|
.verbosity(opt.verbose)
|
||||||
.show_level(false)
|
.show_level(false)
|
||||||
|
Loading…
Reference in New Issue
Block a user