menu 개발 중. 언어 변경 시 반영 않됨
This commit is contained in:
@@ -495,12 +495,12 @@ namespace UVC.Network
|
||||
}
|
||||
else
|
||||
{
|
||||
ULog.Debug($"Server error({resp.StatusCode} - {resp.Message})! " + new Exception(resp.Message));
|
||||
ULog.Warning($"Server error({resp.StatusCode} - {resp.Message})! ");
|
||||
OnError?.Invoke($"Server error({resp.StatusCode} - {resp.Message})!");
|
||||
}
|
||||
break;
|
||||
default:
|
||||
ULog.Debug(req.State.ToString() + ", " + new Exception(resp.Message));
|
||||
ULog.Error(req.State.ToString(), new Exception(resp.Message));
|
||||
OnError?.Invoke(req.State.ToString());
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ namespace UVC.network
|
||||
/// </remarks>
|
||||
private void OnErrorMQTT(MQTTClient client, string reason)
|
||||
{
|
||||
ULog.Error($"MQTT OnError reason: '{reason}'", new Exception(reason));
|
||||
ULog.Error($"MQTT OnError reason: '{reason}'");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -359,7 +359,7 @@ namespace UVC.network
|
||||
{
|
||||
if (client == null || client.State != ClientStates.Connected)
|
||||
{
|
||||
ULog.Error("MQTT client is not connected. Cannot publish message.", new Exception("MQTT client is not connected. Cannot publish message."));
|
||||
ULog.Error("MQTT client is not connected. Cannot publish message.");
|
||||
return;
|
||||
}
|
||||
client.CreateApplicationMessageBuilder(topic)
|
||||
|
||||
Reference in New Issue
Block a user