mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Better log difference between BYOND topic timeout and abort
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user