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

Unified Diff: tools/testing/dart/utils.dart

Issue 14113018: Revert changes in tools/testing while the Dart executable can't handle it. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/utils.dart
diff --git a/tools/testing/dart/utils.dart b/tools/testing/dart/utils.dart
index ab9b8e6192901773d6c49e91d0b4db067245a7ab..4ab769cacc46f01b1ff387ade219804576cba9dc 100644
--- a/tools/testing/dart/utils.dart
+++ b/tools/testing/dart/utils.dart
@@ -5,7 +5,7 @@
library utils;
import 'dart:io';
-import 'dart:async' show getAttachedStackTrace;
+import 'dart:async';
import 'dart:utf' as utf;
class DebugLogger {
@@ -31,8 +31,11 @@ class DebugLogger {
static String _formatErrorMessage(String msg, error) {
if (error == null) return msg;
msg += ": $error";
- var trace = getAttachedStackTrace(error);
- if (trace != null) msg += "\nStackTrace: $trace";
+ // TODO(floitsch): once the dart-executable that is bundled
+ // with the Dart sources is updated, uncomment the following
+ // lines.
+ // var trace = getAttachedStackTrace(error);
+ // if (trace != null) msg += "\nStackTrace: $trace";
return msg;
}
static void info(String msg, [error]) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698