Skip to content

Fix: Catch potential exception in PacketInterceptor#544

Open
CrosRoad95 wants to merge 6 commits intomta-slipe:masterfrom
CrosRoad95:fix/catchPotentialExceptionInPacketInterceptor
Open

Fix: Catch potential exception in PacketInterceptor#544
CrosRoad95 wants to merge 6 commits intomta-slipe:masterfrom
CrosRoad95:fix/catchPotentialExceptionInPacketInterceptor

Conversation

@CrosRoad95
Copy link
Copy Markdown
Collaborator

No description provided.

@CrosRoad95 CrosRoad95 added this to the Slipe server 1.0.0 milestone Oct 4, 2024
@CrosRoad95 CrosRoad95 requested a review from a team as a code owner October 4, 2024 16:38
@CrosRoad95 CrosRoad95 changed the title Fix Catch potential exception in PacketInterceptor Fix: Catch potential exception in PacketInterceptor Oct 4, 2024
{
try
{
PacketReceivedFailed?.Invoke(ex);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would the use-case be for this event?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just in case you want to log it, i could add logger to NetWrapper otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants