Skip to content

Commit d1b7002

Browse files
+ Added runner script
1 parent 18cec89 commit d1b7002

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

run.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import asyncio
2+
from src import main
3+
4+
if __name__ == '__main__':
5+
try:
6+
asyncio.run(main())
7+
except KeyboardInterrupt:
8+
pass
9+
except Exception as e:
10+
raise RuntimeError('Failed to start') from e

0 commit comments

Comments
 (0)