clan-cli: Don't print trace on Keyboard Interrupt
This commit is contained in:
@@ -555,8 +555,8 @@ def main() -> None:
|
|||||||
else:
|
else:
|
||||||
log.error(e) # noqa: TRY400
|
log.error(e) # noqa: TRY400
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
except KeyboardInterrupt as ex:
|
except KeyboardInterrupt:
|
||||||
log.warning("Interrupted by user", exc_info=ex)
|
log.warning("Interrupted by user")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user