Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonBlade committed Dec 11, 2022
1 parent 0e795ca commit 3650d0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions HeelsPlugin/PluginMemory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ public void Dispose()
playerMovementHook?.Dispose();
}
}
catch (Exception ex)
catch
{
PluginLog.LogError(ex, "Error while calling PluginMemory.Dispose()");
}
}

Expand Down Expand Up @@ -166,9 +165,8 @@ public unsafe void PlayerMove(IntPtr player)
SetPosition(config.Offset, player);
}
}
catch (Exception ex)
catch
{
PluginLog.LogError(ex, $"Error while moving with player {player.ToInt64():X}");
}
}

Expand Down
3 changes: 1 addition & 2 deletions HeelsPlugin/PluginUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,8 @@ public PluginUI()
AddConfigLine();
}
}
catch (Exception ex)
catch
{
PluginLog.Error(ex, "Failed to create PluginUI");
}
}

Expand Down

0 comments on commit 3650d0c

Please sign in to comment.