summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-12-08 16:13:26 +0000
committerJose Fonseca <jfonseca@vmware.com>2016-01-12 10:57:24 +0000
commit815ed222a58bc1795163b470c2666dda1a352782 (patch)
tree1a69a8cb4faf17714d16abf549d077104fd57f7a /templates
parente66564955a97b5464a9ff1f78f513ab9155c84ad (diff)
framework: Get traceback into json results.
Exceptions were not reaching it. Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/test_result.mako8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/test_result.mako b/templates/test_result.mako
index 229a5a7c1..ff08797bc 100644
--- a/templates/test_result.mako
+++ b/templates/test_result.mako
@@ -75,6 +75,14 @@
</pre>${value.command}</pre>
</td>
</tr>
+ % if value.exception:
+ <tr>
+ <td>Exception</td>
+ <td>
+ <pre>${value.exception | h}</pre>
+ </td>
+ </tr>
+ % endif
% if value.traceback:
<tr>
<td>Traceback</td>