Skip to content

Commit

Permalink
Add TODO to refactor error handling. (#131878)
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c authored Aug 5, 2023
1 parent 0da0479 commit d5f8ca7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/flutter/lib/src/foundation/stack_frame.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ class StackFrame {
// On the Web in non-debug builds the stack trace includes the exception
// message that precedes the stack trace itself. fromStackTraceLine will
// return null in that case. We will skip it here.
// TODO(polina-c): if one of lines was parsed to null, the entire stack trace
// is in unexpected format and should be returned as is, without partial parsing.
// https://github.com/flutter/flutter/issues/131877
.whereType<StackFrame>()
.toList();
}
Expand Down

0 comments on commit d5f8ca7

Please sign in to comment.