Add faulthandler
(and faulthandler.enable()
) to start.py
This commit is contained in:
parent
399723db94
commit
d8244ccae3
1 changed files with 3 additions and 1 deletions
4
start.py
4
start.py
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue