mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-17 20:08:12 +00:00
chore(python): include the model names in Unsupported model error
[no changelog]
This commit is contained in:
parent
605692e5ce
commit
0e6b3299af
@ -278,7 +278,10 @@ class TrezorClient(Generic[UI]):
|
||||
if model is None:
|
||||
model = models.by_name(features.model or "1")
|
||||
if model is None:
|
||||
raise RuntimeError("Unsupported Trezor model")
|
||||
raise RuntimeError(
|
||||
"Unsupported Trezor model"
|
||||
f" (internal_model: {features.internal_model}, model: {features.model})"
|
||||
)
|
||||
self.model = model
|
||||
|
||||
if features.vendor not in self.model.vendors:
|
||||
|
Loading…
Reference in New Issue
Block a user