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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/service_exception_view.dart

Issue 205713004: Add isolate tag-profile and better handling of errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months 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/elements/service_exception_view.dart
diff --git a/runtime/bin/vmservice/client/lib/src/elements/stack_trace.dart b/runtime/bin/vmservice/client/lib/src/elements/service_exception_view.dart
similarity index 55%
copy from runtime/bin/vmservice/client/lib/src/elements/stack_trace.dart
copy to runtime/bin/vmservice/client/lib/src/elements/service_exception_view.dart
index f92630eb2b8b516123da7287fcaa834a4fc28b81..9a161e4830d1225a0f3efb3d5a0fa030a8dfe352 100644
--- a/runtime/bin/vmservice/client/lib/src/elements/stack_trace.dart
+++ b/runtime/bin/vmservice/client/lib/src/elements/service_exception_view.dart
@@ -2,19 +2,16 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library stack_trace_element;
+library service_exception_view_element;
-import 'package:polymer/polymer.dart';
import 'observatory_element.dart';
+import 'package:polymer/polymer.dart';
import 'package:observatory/service.dart';
-@CustomTag('stack-trace')
-class StackTraceElement extends ObservatoryElement {
- @published ServiceMap trace;
-
- StackTraceElement.created() : super.created();
+/// Displays a ServiceException
+@CustomTag('service-exception-view')
+class ServiceExceptionViewElement extends ObservatoryElement {
+ @published ServiceException exception;
- void refresh(var done) {
- trace.reload().whenComplete(done);
- }
-}
+ ServiceExceptionViewElement.created() : super.created();
+}

Powered by Google App Engine
This is Rietveld 408576698