1
0
forked from clan/clan-core

clan-cli: Disable stack trace on KeyboardInterrupt

This commit is contained in:
Luis Hebendanz 2024-06-21 13:11:33 +02:00
parent b3123b150f
commit 8ee33950e6

View File

@ -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__":