enh(list): proper error handling on list
This commit is contained in:
parent
a07cb828cc
commit
5a039d2389
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ fn main() {
|
||||||
let c = Cli::parse();
|
let c = Cli::parse();
|
||||||
|
|
||||||
if c.list {
|
if c.list {
|
||||||
let mut handler = MidiHandler::new(constant::CLIENT_NAME).unwrap();
|
let mut handler = err_handle(MidiHandler::new(constant::CLIENT_NAME));
|
||||||
err_handle(
|
err_handle(
|
||||||
handler.builder_handler(run::ListDevicesBuilder, ())
|
handler.builder_handler(run::ListDevicesBuilder, ())
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue