mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-06-21 20:29:30 -04:00
feat: warn user when MqttClientProxy fails
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user