Mercurial > code > home > repos > light9
changeset 1072:e6121f8a9f87
always use faulthandler.enable(). so cool
Ignore-this: 4305391ff16141c9b223e7b2ecb6140b
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Tue, 03 Jun 2014 04:57:56 +0000 |
parents | 2f492b4ac301 |
children | 52f049d85f96 |
files | bin/run_local.py pydeps |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/run_local.py Mon Jun 02 07:47:00 2014 +0000 +++ b/bin/run_local.py Tue Jun 03 04:57:56 2014 +0000 @@ -16,7 +16,8 @@ Failure(val, exc, tb).printDetailedTraceback() Tkinter.Tk.report_callback_exception = rce -import coloredlogs, logging, time +import coloredlogs, logging, time, faulthandler +faulthandler.enable() log = logging.getLogger() class CSH(coloredlogs.ColoredStreamHandler):