Index: tracing/tracing/value/ui/diagnostic_span.html |
diff --git a/tracing/tracing/value/ui/diagnostic_span.html b/tracing/tracing/value/ui/diagnostic_span.html |
index 6b51b76eb4e4b58dc8ff852c6cb17480e0b1662c..da386cfb3270061b9945f624faf751f369ef7718 100644 |
--- a/tracing/tracing/value/ui/diagnostic_span.html |
+++ b/tracing/tracing/value/ui/diagnostic_span.html |
@@ -39,8 +39,7 @@ tr.exportTo('tr.v.ui', function() { |
let curProto = diagnostic.constructor.prototype; |
while (curProto) { |
typeInfo = tr.v.d.Diagnostic.findTypeInfo(curProto.constructor); |
- if (typeInfo && typeInfo.metadata.elementName) |
- break; |
+ if (typeInfo && typeInfo.metadata.elementName) break; |
typeInfo = undefined; |
curProto = curProto.__proto__; |
} |
@@ -53,8 +52,9 @@ tr.exportTo('tr.v.ui', function() { |
let tagName = typeInfo.metadata.elementName; |
- if (tr.ui.b.isUnknownElementName(tagName)) |
+ if (tr.ui.b.isUnknownElementName(tagName)) { |
throw new Error('Element not registered: ' + tagName); |
+ } |
return tagName; |
} |