Unverified Commit d5f8ca72 authored by Polina Cherkasova's avatar Polina Cherkasova Committed by GitHub

Add TODO to refactor error handling. (#131878)

parent 0da04797
...@@ -78,6 +78,9 @@ class StackFrame { ...@@ -78,6 +78,9 @@ class StackFrame {
// On the Web in non-debug builds the stack trace includes the exception // On the Web in non-debug builds the stack trace includes the exception
// message that precedes the stack trace itself. fromStackTraceLine will // message that precedes the stack trace itself. fromStackTraceLine will
// return null in that case. We will skip it here. // 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>() .whereType<StackFrame>()
.toList(); .toList();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment