Do not catch topic timeouts

This commit is contained in:
Jordan Dominion
2023-07-08 14:28:45 -04:00
parent 6ece6697ba
commit b3fc3558cc
@@ -978,7 +978,7 @@ namespace Tgstation.Server.Host.Components.Session
break;
}
catch (Exception ex) when (ex is not OperationCanceledException)
catch (Exception ex) when (!cancellationToken.IsCancellationRequested)
{
Logger.LogWarning(ex, "SendTopic exception!{retryDetails}", priority ? $" {i} attempts remaining." : String.Empty);