mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 00:22:40 +01:00
Improve chat message when a deployment is canceled
This commit is contained in:
@@ -675,7 +675,9 @@ namespace Tgstation.Server.Host.Components.Deployment
|
||||
{
|
||||
if (currentChatCallback != null)
|
||||
await currentChatCallback(
|
||||
ex.Message,
|
||||
ex is OperationCanceledException
|
||||
? "The job was cancelled!"
|
||||
: ex.Message,
|
||||
currentDreamMakerOutput)
|
||||
.ConfigureAwait(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user