Index: pkg/stack_trace/lib/src/trace.dart |
diff --git a/pkg/stack_trace/lib/src/trace.dart b/pkg/stack_trace/lib/src/trace.dart |
index bed1d5d89c799419d156dabe75835ffc34572a9a..b8a269f6358b5578acca4f46bdc78987cf2bcab7 100644 |
--- a/pkg/stack_trace/lib/src/trace.dart |
+++ b/pkg/stack_trace/lib/src/trace.dart |
@@ -52,7 +52,7 @@ class Trace implements StackTrace { |
/// a [Trace], it will be returned as-is. |
factory Trace.from(StackTrace trace) { |
if (trace is Trace) return trace; |
- return new Trace.parse(trace.fullStackTrace); |
+ return new Trace.parse(trace.toString()); |
} |
/// Parses a string representation of a stack trace. |