Files
octosuite/octosuite
2022-04-27 15:25:15 +02:00

18 lines
567 B
Python

#!/usr/bin/env python3
import logging
from src.main import *
from lib.colors import red,white,reset
if __name__ == '__main__':
try:
octosuite().on_start()
except KeyboardInterrupt:
logging.warning('Session terminated with (Ctrl+C)')
exit(f'\n{white}[{red} x {white}] Session terminated with ({red}Ctrl{white}+{red}C{reset}{white}).{reset}')
except Exception as e:
logging.error(f'Session terminated on error: {e}')
exit(f'\n{white}[{red} ! {white}] Session terminated on error: {red}{e}{reset}')