Skip to content

Commit d5f8ca7

Browse files
authored
Add TODO to refactor error handling. (flutter#131878)
1 parent 0da0479 commit d5f8ca7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/flutter/lib/src/foundation/stack_frame.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ class StackFrame {
7878
// On the Web in non-debug builds the stack trace includes the exception
7979
// message that precedes the stack trace itself. fromStackTraceLine will
8080
// return null in that case. We will skip it here.
81+
// TODO(polina-c): if one of lines was parsed to null, the entire stack trace
82+
// is in unexpected format and should be returned as is, without partial parsing.
83+
// https://github.com/flutter/flutter/issues/131877
8184
.whereType<StackFrame>()
8285
.toList();
8386
}

0 commit comments

Comments
 (0)