fix: Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jonathan Arndt 2026-05-15 13:06:25 -07:00 committed by GitHub
parent e57bc43a10
commit e6583f7824
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -383,15 +383,27 @@ namespace PepperDash.Core
catch (NetSocketException ex)
{
Debug.LogMessage(ex, "UDP receive error for {0}", this, Key);
if (AutoReconnect)
{
HandleDisconnected();
return;
}
continue;
}
catch (Exception ex)
{
Debug.LogMessage(ex, "Unexpected UDP receive error for {0}", this, Key);
if (AutoReconnect)
{
HandleDisconnected();
return;
}
continue;
}
}
}, token);
}