Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1337)

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.html

Issue 77043010: - Ensure that classes are finalized before their description is (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.html
===================================================================
--- runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.html (revision 30528)
+++ runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.html (working copy)
@@ -8,7 +8,12 @@
<div class="panel panel-danger">
<div class="panel-heading">Error</div>
<div class="panel-body">
- <p>{{ error }}</p>
+ <template if="{{ (error_obj == null) || (error_obj['type'] != 'LanguageError') }}">
+ <p>{{ error }}</p>
+ </template>
+ <template if="{{ (error_obj != null) && (error_obj['type'] == 'LanguageError') }}">
+ <pre>{{ error_obj['error_msg'] }}</pre>
+ </template>
</div>
</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698