Browse Source

Add a debugging traceback.

283
Neil Booth 10 years ago
parent
commit
748662dede
  1. 2
      lib/interface.py

2
lib/interface.py

@ -243,6 +243,8 @@ class Interface:
def queue_request(self, request):
'''Queue a request.'''
if type(request) != type({}):
traceback.print_exc(file=sys.stderr)
self.request_time = time.time()
self.unsent_requests.append(request)

Loading…
Cancel
Save