| 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 52f0ebbd97e6f6c0b02a42c72acd939948a08234..033b42124cf245c3c2c263771f16d228d41d90a2 100644
|
| --- a/tracing/tracing/ui/side_panel/metrics_side_panel.html
|
| +++ b/tracing/tracing/ui/side_panel/metrics_side_panel.html
|
| @@ -11,8 +11,7 @@ found in the LICENSE file.
|
| <link rel="import" href="/tracing/ui/base/dom_helpers.html">
|
| <link rel="import" href="/tracing/ui/side_panel/side_panel.html">
|
| <link rel="import" href="/tracing/ui/side_panel/side_panel_registry.html">
|
| -<link rel="import" href="/tracing/value/ui/value_set_table.html">
|
| -<link rel="import" href="/tracing/value/ui/value_set_view.html">
|
| +<link rel="import" href="/tracing/value/ui/all_value_set_views.html">
|
| <link rel="import" href="/tracing/value/value_set.html">
|
|
|
| <dom-module id="tr-ui-sp-metrics-side-panel">
|
| @@ -187,7 +186,10 @@ tr.exportTo('tr.ui', function() {
|
| try {
|
| this.currentMetricTypeInfo_.constructor(values, this.model_, options);
|
| } catch (err) {
|
| - console.error(err.stack);
|
| + var metricName = this.currentMetricTypeInfo_.constructor.name;
|
| + console.warn(
|
| + metricName + ' could not be computed for the current model:\n' +
|
| + err.stack);
|
| this.$.results.values = new tr.v.ValueSet([
|
| new tr.v.FailureValue('error', {
|
| description: err.message,
|
|
|