diff --git a/python/src/trezorlib/cli/__init__.py b/python/src/trezorlib/cli/__init__.py index 9519db9ed0..07e4fcda90 100644 --- a/python/src/trezorlib/cli/__init__.py +++ b/python/src/trezorlib/cli/__init__.py @@ -267,6 +267,11 @@ class TrezorConnection: empty_passphrase=empty_passphrase, must_resume=must_resume, ) + except exceptions.DeviceLockedException: + click.echo( + "Device is locked, enter a pin on the device.", + err=True, + ) except transport.DeviceIsBusy: click.echo("Device is in use by another process.") sys.exit(1)