Skip to content

Commit

Permalink
Merge pull request apple#151 from xvrh/xha/stacktrace_notsupported
Browse files Browse the repository at this point in the history
Don't pass stackTrace in EventSink.error
  • Loading branch information
remonh87 authored Nov 24, 2020
2 parents 3e70254 + 758301c commit 32c067d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ class BleStatusHandler(private val bleClient: BleClient) : EventChannel.StreamHa
.build()
eventSink.success(message.toByteArray())
}, { throwable ->
eventSink.error("ObserveBleStatusFailure", throwable.message, throwable.stackTrace)
eventSink.error("ObserveBleStatusFailure", throwable.message, null)
})
}

0 comments on commit 32c067d

Please sign in to comment.