python.video_converter_v3/__main__.py

14 lines
No EOL
309 B
Python

import asyncio
import logging
from app.main_server import Server
if __name__ == "__main__":
obj_server = Server()
try:
asyncio.run(obj_server.start_server())
except asyncio.exceptions.CancelledError:
pass
except Exception as e:
logging.critical(f"Global error: {e}")