From a9edcef0cd62409af17dca9d27542e318479dd39 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Wed, 15 Aug 2018 16:22:32 -0400 Subject: [PATCH] Some watchdog logging --- src/Tgstation.Server.Host.Watchdog/Watchdog.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host.Watchdog/Watchdog.cs b/src/Tgstation.Server.Host.Watchdog/Watchdog.cs index 44bccaeb37..9cfed660e9 100644 --- a/src/Tgstation.Server.Host.Watchdog/Watchdog.cs +++ b/src/Tgstation.Server.Host.Watchdog/Watchdog.cs @@ -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)