Index: tracing/tracing/ui/extras/deep_reports/scalar_value.html |
diff --git a/tracing/tracing/ui/extras/deep_reports/scalar_value.html b/tracing/tracing/ui/extras/deep_reports/scalar_value.html |
index 79eeff3199581f80f4a527c61eb9655ce0a73edf..cd18e5667590e6710d6817f6c65f2470baffd6f9 100644 |
--- a/tracing/tracing/ui/extras/deep_reports/scalar_value.html |
+++ b/tracing/tracing/ui/extras/deep_reports/scalar_value.html |
@@ -22,8 +22,9 @@ tr.exportTo('tr.ui.e.deep_reports', function() { |
this.description = opt_description || ''; |
} |
ScalarValue.fromDict = function(page, dict) { |
- if (dict.type !== 'scalar') |
+ if (dict.type !== 'scalar') { |
throw new Error('wat'); |
+ } |
var v = new ScalarValue(page, dict.name, dict.units, dict.value); |
v.important = dict.important; |
v.description = dict.description; |