mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-29 16:11:05 +01:00
Some watchdog logging
This commit is contained in:
@@ -44,7 +44,10 @@ namespace Tgstation.Server.Host.Watchdog
|
||||
exeName += ".exe";
|
||||
|
||||
var dotnetPath = paths.Select(x => Path.Combine(x, exeName))
|
||||
.Where(x => File.Exists(x))
|
||||
.Where(x => {
|
||||
logger.LogTrace("Checking for dotnet at {0}", x);
|
||||
return File.Exists(x);
|
||||
})
|
||||
.FirstOrDefault();
|
||||
|
||||
if(dotnetPath == default)
|
||||
|
||||
Reference in New Issue
Block a user