Add TODO to refactor error handling. (#131878)

This commit is contained in:
Polina Cherkasova 2023-08-04 18:28:03 -07:00 committed by GitHub
parent 0da0479702
commit d5f8ca7281
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}