1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 08:04:49 +01:00

debug: print stracktrace when debugging

This commit is contained in:
Ilya Kreymer 2016-08-01 02:12:15 -04:00
parent db3b92e228
commit 20b161bf90

View File

@ -82,6 +82,8 @@ class ResAggApp(object):
return res
except Exception as e:
if self.debug:
traceback.print_exc()
message = 'Internal Error: ' + str(e)
status = 500
return self.send_error({}, start_response,