More fixes

This commit is contained in:
Jordan Brown
2020-04-23 03:38:19 -04:00
parent c60848be35
commit a28525e08c
3 changed files with 2 additions and 2 deletions
@@ -451,7 +451,6 @@ namespace Tgstation.Server.Host.Components.Deployment
}
catch (Exception e)
{
logger.LogDebug("Cleaning up failed compile due to exception: {0}", e);
await CleanupFailedCompile(job, e is OperationCanceledException, cancellationToken).ConfigureAwait(false);
throw;
}
@@ -55,7 +55,7 @@ namespace Tgstation.Server.Host.Components.Watchdog
if (!runtimeInformation.SecurityLevel.HasValue)
throw new ArgumentException("runtimeInformation must have a valid SecurityLevel!", nameof(runtimeInformation));
LaunchSecurityLevel = runtimeInformation.SecurityLevel.Value;
base.LaunchSecurityLevel = runtimeInformation.SecurityLevel.Value;
Port = port;
IsPrimary = isPrimary;
@@ -242,6 +242,7 @@ namespace Tgstation.Server.Host.Components.Watchdog
}
catch
{
process.Terminate();
process.Dispose();
throw;
}