diff --git a/NebulaNetwork/Ngrok/NgrokManager.cs b/NebulaNetwork/Ngrok/NgrokManager.cs index d09bc5302..fc1b11da8 100644 --- a/NebulaNetwork/Ngrok/NgrokManager.cs +++ b/NebulaNetwork/Ngrok/NgrokManager.cs @@ -265,10 +265,7 @@ private void ErrorDataReceivedEventHandler(object sender, DataReceivedEventArgs "ERR_NGROK_123" => "Account email not verified".Translate(), _ => string.Empty }; - if (!string.IsNullOrWhiteSpace(NgrokLastErrorCodeDesc)) - { - NgrokLastErrorCodeDesc = $"({NgrokLastErrorCodeDesc})"; - } + NgrokLastErrorCodeDesc = !string.IsNullOrWhiteSpace(NgrokLastErrorCodeDesc) ? $"({NgrokLastErrorCodeDesc})" : string.Empty; Log.WarnInform(string.Format("Ngrok Error! Code: {0} {1}".Translate(), NgrokLastErrorCode, NgrokLastErrorCodeDesc)); }