Better log difference between BYOND topic timeout and abort

This commit is contained in:
Jordan Brown
2020-05-14 20:16:10 -04:00
parent f993f52a85
commit d98ac1dbfb
@@ -559,7 +559,11 @@ namespace Tgstation.Server.Host.Components.Session
}
catch (OperationCanceledException)
{
logger.LogTrace("Topic request aborted!");
logger.LogTrace(
"Topic request {0}!",
cancellationToken.IsCancellationRequested
? "aborted"
: "timed out");
cancellationToken.ThrowIfCancellationRequested();
}
catch (Exception e)