Add faulthandler (and faulthandler.enable()) to start.py

This commit is contained in:
jesopo 2019-02-11 11:43:14 +00:00
parent 399723db94
commit d8244ccae3

View file

@ -1,9 +1,11 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
import argparse, os, sys, time import argparse, faulthandler, os, sys, time
from src import Cache, Config, Database, EventManager, Exports, IRCBot from src import Cache, Config, Database, EventManager, Exports, IRCBot
from src import Logging, ModuleManager, Timers, utils from src import Logging, ModuleManager, Timers, utils
faulthandler.enable()
directory = os.path.dirname(os.path.realpath(__file__)) directory = os.path.dirname(os.path.realpath(__file__))
arg_parser = argparse.ArgumentParser( arg_parser = argparse.ArgumentParser(