aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands.rs2
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())
}
}