Skip to content

Commit

Permalink
Add comment describing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Sep 11, 2023
1 parent 27e1631 commit e74241a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flutter/lib/src/jvm/jvm_exception.dart
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ class JvmException {
}

final thisExceptionFrames = thisException
// Sometimes stringified exceptions from the native side have
// empty lines. Discard those!
.where((line) => line.trim().isNotEmpty)
.map((e) => JvmFrame.parse(e))
.toList(growable: false);
Expand Down

0 comments on commit e74241a

Please sign in to comment.