Skip to content

Commit

Permalink
Update NgrokManager.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomGamers committed Jun 5, 2024
1 parent 909ee66 commit c30b811
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions NebulaNetwork/Ngrok/NgrokManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit c30b811

Please sign in to comment.