mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
fix(upower): avoid panic on client init error
This commit is contained in:
parent
9d125353c4
commit
474e1fe364
4 changed files with 25 additions and 24 deletions
|
@ -78,7 +78,10 @@ fn run_with_args() {
|
|||
#[cfg(feature = "schema")]
|
||||
if args.print_schema {
|
||||
let schema = schemars::schema_for!(Config);
|
||||
println!("{}", serde_json::to_string_pretty(&schema).expect("to be serializable"));
|
||||
println!(
|
||||
"{}",
|
||||
serde_json::to_string_pretty(&schema).expect("to be serializable")
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue