Index: tracing/tracing/ui/base/utils.html |
diff --git a/tracing/tracing/ui/base/utils.html b/tracing/tracing/ui/base/utils.html |
index 13133c95d9675dc72b5388c344f2a4a9c747b6c0..4ab7076730e5d125df11ba4cc48c3febd23458ac 100644 |
--- a/tracing/tracing/ui/base/utils.html |
+++ b/tracing/tracing/ui/base/utils.html |
@@ -15,8 +15,9 @@ tr.exportTo('tr.ui.b', function() { |
function instantiateTemplate(selector, doc) { |
doc = doc || document; |
var el = Polymer.dom(doc).querySelector(selector); |
- if (!el) |
+ if (!el) { |
throw new Error('Element not found'); |
+ } |
return doc.importNode(el.content, true); |
// return el.createInstance(); |
} |