Minor compiler improvements

- Reccommend lowering the security level if API validation times out.
- Log DreamMaker output as Debug.
This commit is contained in:
Jordan Brown
2020-04-22 13:11:29 -04:00
parent f62d827fbf
commit 80d3ef845d
@@ -220,7 +220,7 @@ namespace Tgstation.Server.Host.Components.Deployment
job.DMApiVersion = controller.DMApiVersion;
}
throw new JobException("DMAPI validation timed out!");
throw new JobException("DMAPI validation timed out! Is the security level too high?");
}
}
@@ -242,7 +242,7 @@ namespace Tgstation.Server.Host.Components.Deployment
logger.LogDebug("DreamMaker exit code: {0}", exitCode);
job.Output = dm.GetCombinedOutput();
logger.LogTrace("DreamMaker output: {0}{1}", Environment.NewLine, job.Output);
logger.LogDebug("DreamMaker output: {0}{1}", Environment.NewLine, job.Output);
return exitCode;
}
}