From 8eaf922107ca2624d412d9fbc530402143605b29 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 30 Jul 2019 15:20:21 +0200 Subject: Verbose error messages (with traceback) --- jfr_playoff/gui/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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('<>', when='tail') -- cgit v1.2.3