Improve chat message when a deployment is canceled

This commit is contained in:
Jordan Brown
2020-07-09 11:31:52 -04:00
parent d6bf75b439
commit 90569981b2
@@ -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);