Skip to content

Commit

Permalink
feat: warn user when MqttClientProxy fails
Browse files Browse the repository at this point in the history
  • Loading branch information
andrekir committed Oct 13, 2023
1 parent 8d22a23 commit 7b3f71a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ class MeshService : Service(), Logging {
mqttMessageFlow = mqttRepository.proxyMessageFlow.onEach { message ->
sendToRadio(ToRadio.newBuilder().apply { mqttClientProxyMessage = message })
}.catch { throwable ->
errormsg("MqttClientProxy failed: $throwable")
radioInterfaceService.setErrorMessage("MqttClientProxy failed: $throwable")
}.launchIn(serviceScope)
}
}
Expand Down

0 comments on commit 7b3f71a

Please sign in to comment.