Deprecate error code 54

This commit is contained in:
Jordan Brown
2020-07-09 10:59:37 -04:00
parent 5e27598eb1
commit 1940e32d91
2 changed files with 2 additions and 1 deletions
@@ -339,6 +339,7 @@ namespace Tgstation.Server.Api.Models
/// DMAPI validation timeout.
/// </summary>
[Description("The DreamDaemon startup timeout was hit before the DMAPI validated!")]
[Obsolete("Deprecated in favor of error code 52", true)]
DreamMakerValidationTimeout,
/// <summary>
@@ -231,7 +231,7 @@ namespace Tgstation.Server.Host.Components.Deployment
if (!controller.Lifetime.IsCompleted)
{
if (requireValidate)
throw new JobException(ErrorCode.DreamMakerValidationTimeout);
throw new JobException(ErrorCode.DreamMakerNeverValidated);
controller.Dispose();
}