| 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]) {
|
|
|