forked from clan/clan-core
clan-cli: Disable stack trace on KeyboardInterrupt
This commit is contained in:
parent
b3123b150f
commit
8ee33950e6
@ -348,6 +348,9 @@ def main() -> None:
|
||||
|
||||
log.error(e)
|
||||
sys.exit(1)
|
||||
except KeyboardInterrupt:
|
||||
log.warning("Interrupted by user")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user