Skip to content

Commit e74241a

Browse files
committed
Add comment describing issue
1 parent 27e1631 commit e74241a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flutter/lib/src/jvm/jvm_exception.dart

+2
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ class JvmException {
257257
}
258258

259259
final thisExceptionFrames = thisException
260+
// Sometimes stringified exceptions from the native side have
261+
// empty lines. Discard those!
260262
.where((line) => line.trim().isNotEmpty)
261263
.map((e) => JvmFrame.parse(e))
262264
.toList(growable: false);

0 commit comments

Comments
 (0)