Catches unhandled exceptions and logs them to a file.
Usage:
import boodebr.util.errors
boodebr.util.errors.catch_exceptions()
You can also specify a log directory with:
boodebr.util.errors.catch_exceptions('/some/log/dir')
If not given,
os.getcwd() is used.
blog comments powered by