Skip to content

Commit

Permalink
Prevent further processing of error data
Browse files Browse the repository at this point in the history
Added a return statement at the beginning of the HandleErrorData method to immediately exit the function. This ensures that no additional code is executed within this method when it is called.
  • Loading branch information
GamerVII-NET committed Oct 12, 2024
1 parent 50c4011 commit a906375
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gml.Launcher/Core/Services/LogHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public LogHandler()

private void HandleErrorData(string data)
{
return;
Debug.WriteLine(data);

if (data.Contains("Exception", StringComparison.OrdinalIgnoreCase) ||
Expand Down

0 comments on commit a906375

Please sign in to comment.