diff options
author | emkael <emkael@tlen.pl> | 2019-07-30 15:20:21 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-07-30 15:20:21 +0200 |
commit | 8eaf922107ca2624d412d9fbc530402143605b29 (patch) | |
tree | bb74a7199a9fa47bce9c32f861a6ff91ea4f57ff /jfr_playoff/gui | |
parent | 70edb40abe7253d7faede7080e6945aec569753e (diff) |
Verbose error messages (with traceback)
Diffstat (limited to 'jfr_playoff/gui')
-rw-r--r-- | jfr_playoff/gui/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/gui/__init__.py b/jfr_playoff/gui/__init__.py index 2bd0981..f8d34fd 100644 --- a/jfr_playoff/gui/__init__.py +++ b/jfr_playoff/gui/__init__.py @@ -1,6 +1,6 @@ #coding=utf-8 -import codecs, copy, json, os, sys, tempfile, threading, webbrowser +import codecs, copy, json, os, sys, tempfile, threading, traceback, webbrowser from collections import OrderedDict import logging as log @@ -190,6 +190,7 @@ class PlayoffGUI(tk.Tk): os.remove(tempPath) except Exception as e: log.getLogger().error(str(e)) + traceback.print_exc() if interactive: self._runtimeError = e self.event_generate('<<BracketError>>', when='tail') |