We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22aa6d0 commit af379caCopy full SHA for af379ca
mesh/core/src/main/java/no/nordicsemi/kotlin/mesh/core/MeshNetworkManager.kt
@@ -1084,10 +1084,11 @@ class MeshNetworkManager(
1084
* @throws IllegalStateException This method throws when the mesh network has not been created.
1085
*/
1086
@Throws(NoNetwork::class, IllegalStateException::class)
1087
- suspend fun send(message: ProxyConfigurationMessage): ProxyConfigurationMessage =
+ suspend fun send(message: ProxyConfigurationMessage): ProxyConfigurationMessage? =
1088
networkManager?.send(message) ?: run {
1089
logger?.e(category = LogCategory.PROXY) { "Error: Mesh Network not created" }
1090
- throw NoNetwork()
+ return null
1091
+ //throw NoNetwork()
1092
}
1093
1094
/**
0 commit comments