diff --git a/Plane.Logging/LocalFileLogger.cs b/Plane.Logging/LocalFileLogger.cs index 0aae2c3..91b7ec6 100644 --- a/Plane.Logging/LocalFileLogger.cs +++ b/Plane.Logging/LocalFileLogger.cs @@ -46,7 +46,9 @@ namespace Plane.Logging public override string ReadLog() { - string text = File.ReadAllText(LogFilePath); + string text = ""; + if (File.Exists(LogFilePath)) + text = File.ReadAllText(LogFilePath); return text; }