tprint traceback is an exception occurs in network.process_request - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8ca17a3e705d8f22723fcc8012552e0172804290 DIR parent 992a634a77534c7e3cc35eac298f7235a8c731e2 HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 29 Jan 2015 11:32:58 +0100 print traceback is an exception occurs in network.process_request Diffstat: M lib/network.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -1,4 +1,12 @@ -import threading, time, Queue, os, sys, shutil, random +import threading +import time +import Queue +import os +import sys +import random +import traceback + + from util import user_dir, appdata_dir, print_error, print_msg from bitcoin import * import interface t@@ -360,6 +368,7 @@ class Network(threading.Thread): out['result'] = f(*params) except BaseException as e: out['error'] = str(e) + traceback.print_exc(file=sys.stout) print_error("network error", str(e)) self.response_queue.put(out)