Skip to content

Commit

Permalink
check empty first
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Sep 4, 2023
1 parent a863aeb commit 98d58d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter/lib/src/jvm/jvm_exception.dart
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class JvmException {
final thisExceptionFrames = thisException
.map((e) => JvmFrame.parse(e))
.where(
(e) => e.originalFrame.trim() != 'at' && e.originalFrame.isNotEmpty)
(e) => e.originalFrame.isNotEmpty && e.originalFrame.trim() != 'at' )
.toList(growable: false);

final suppressedExceptions = supressed
Expand Down

0 comments on commit 98d58d5

Please sign in to comment.