Skip to content

Commit 02e58a7

Browse files
committed
Add traceback as comment on postmortem.
1 parent 28e2fe1 commit 02e58a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

client/wdb/ext.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ def _handle_off(silent=False):
8282
<html>
8383
<head>
8484
<title>WDB Post Mortem</title>
85+
<!--
86+
%s
87+
-->
8588
<style>
8689
html, body, iframe {
8790
margin: 0;
@@ -113,7 +116,7 @@ def _handle_off(silent=False):
113116
</iframe>
114117
</body>
115118
</html>
116-
''' % web_url)
119+
''' % (traceback.format_exc(), web_url))
117120

118121

119122
class WdbMiddleware(object):

0 commit comments

Comments
 (0)