Index: tracing/tracing/ui/side_panel/metrics_side_panel.html |
diff --git a/tracing/tracing/ui/side_panel/metrics_side_panel.html b/tracing/tracing/ui/side_panel/metrics_side_panel.html |
index d656e009f8b58264318720c2444acc3572254cff..4227cdc24df873828ff6efeb1efe9d3634a8e8fa 100644 |
--- a/tracing/tracing/ui/side_panel/metrics_side_panel.html |
+++ b/tracing/tracing/ui/side_panel/metrics_side_panel.html |
@@ -25,6 +25,7 @@ found in the LICENSE file. |
} |
div#error { |
color: red; |
+ white-space: pre; |
} |
#results { |
font-size: 12px; |
@@ -200,7 +201,7 @@ tr.exportTo('tr.ui', function() { |
try { |
histograms = tr.metrics.runMetrics(this.model_, options); |
} catch (err) { |
- Polymer.dom(this.$.error).textContent = err.message; |
+ Polymer.dom(this.$.error).textContent = err.stack; |
return; |
} |