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

Unified Diff: tools/coverage.dart

Issue 48483002: Remove deprecated parts of dart:async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 7 years, 2 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
« no previous file with comments | « tests/standalone/io/web_socket_protocol_processor_test.dart ('k') | tools/testing/dart/utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/coverage.dart
diff --git a/tools/coverage.dart b/tools/coverage.dart
index d024dfeacaefa65d8d229cfa0def0c59171dc63b..b5cc61812d5e41e8578626f0cc08050e0c680166 100644
--- a/tools/coverage.dart
+++ b/tools/coverage.dart
@@ -390,9 +390,8 @@ class Debugger {
cleanup();
});
},
- onError: (e) {
+ onError: (e, trace) {
String msg = "Error while connecting to coverage target: $e";
- var trace = getAttachedStackTrace(e);
if (trace != null) msg += "\nStackTrace: $trace";
error(msg);
cleanup();
« no previous file with comments | « tests/standalone/io/web_socket_protocol_processor_test.dart ('k') | tools/testing/dart/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698