tprint traceback in waiting dialog - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f410225dc2396dcdeb1402c62853728275c80554 DIR parent 85505c1d8eee7f5aa1d3a1f4dba766e52bddcdf1 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 21 Jun 2014 21:38:42 +0200 print traceback in waiting dialog Diffstat: M gui/qt/util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/qt/util.py b/gui/qt/util.py t@@ -3,7 +3,8 @@ from PyQt4.QtGui import * from PyQt4.QtCore import * import os.path import time - +import traceback +import sys import threading class WaitingDialog(QThread): t@@ -25,6 +26,7 @@ class WaitingDialog(QThread): try: self.result = self.run_task() except Exception as e: + traceback.print_exc(file=sys.stdout) self.error = str(e) self.d.emit(SIGNAL('done'))