Skip to content

Commit

Permalink
Don't pass stackTrace in EventSink.error
Browse files Browse the repository at this point in the history
  • Loading branch information
xvrh committed Nov 24, 2020
1 parent 3e70254 commit 758301c
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 758301c

Please sign in to comment.