diff options
author | Daniel Mueller <deso@posteo.net> | 2020-09-07 11:39:49 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2020-09-07 11:39:49 -0700 |
commit | 5bc550418d18c1321b37b8d1945ba7f162bbea92 (patch) | |
tree | d2c434ad9b852f7bb6e8788281419c56f6b58584 | |
parent | fd7082b69228e41a19f05aa533511b6aa65c6ea2 (diff) | |
download | nitrocli-5bc550418d18c1321b37b8d1945ba7f162bbea92.tar.gz nitrocli-5bc550418d18c1321b37b8d1945ba7f162bbea92.tar.bz2 |
fixup! Refactor connection handling
-rw-r--r-- | src/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.rs b/src/commands.rs index f718571..3a245e5 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -140,7 +140,7 @@ where if let nitrokey::DeviceWrapper::Storage(storage) = device { op(ctx, storage) } else { - panic!("connect returned a wrong model: {:?}", device) + panic!("connect returned a wrong model: {}", device.get_model()) } } |