Skip to content

Commit 78e34ba

Browse files
committed
main: handle KeyboardInterrupt
1 parent cafc7e4 commit 78e34ba

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/enapter/__main__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
from enapter import cli
44

55
app = cli.App.new()
6-
asyncio.run(app.run())
6+
try:
7+
asyncio.run(app.run())
8+
except KeyboardInterrupt:
9+
pass

0 commit comments

Comments
 (0)