Skip to content

Commit

Permalink
Update flutter/lib/src/event_processor/android_platform_exception_eve…
Browse files Browse the repository at this point in the history
…nt_processor.dart
  • Loading branch information
ueman authored May 19, 2024
1 parent 8d52dee commit 170b0f1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ class AndroidPlatformExceptionEventProcessor implements EventProcessor {
}

final eventExceptions = event.exceptions?.map((e) {
if (event.throwable is! PlatformException) {
return e;
}
// TODO: Maybe this shouldn't be applied to all exceptions?
return e.copyWith(
mechanism: Mechanism(
type: 'chained',
Expand Down

0 comments on commit 170b0f1

Please sign in to comment.