Skip to content
Merged
Prev Previous commit
Next Next commit
Revert SentryFlutterPlugin.kt to previous commit
  • Loading branch information
buenaflor committed Jul 8, 2024
commit 47021acbd1d4e6a6d06c72dc63b9d0bfaf8718ef
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,7 @@ class SentryFlutterPlugin : FlutterPlugin, MethodCallHandler, ActivityAware {
if (args.isNotEmpty()) {
val event = args.first() as ByteArray?
if (event != null && event.isNotEmpty()) {
// Flutter event do not crash the application, we always want a new session to start
// after event with exception.handled = false
val id = InternalSentrySdk.captureEnvelope(event, true)
val id = InternalSentrySdk.captureEnvelope(event)
if (id != null) {
result.success("")
} else {
Expand Down