diff --git a/mRemoteV1/App/Logger.cs b/mRemoteV1/App/Logger.cs index 697c5f596..3413ddd57 100644 --- a/mRemoteV1/App/Logger.cs +++ b/mRemoteV1/App/Logger.cs @@ -54,6 +54,7 @@ namespace mRemoteNG.App var logFilePath = Application.StartupPath; #endif var logFileName = Path.ChangeExtension(Application.ProductName, ".log"); + if (logFileName == null) return "mRemoteNG.log"; var logFile = Path.Combine(logFilePath, logFileName); return logFile; }