Merge pull request #374 from lukeIam/LoggingImprovments

Don't show log assistant on crash marker in debug mode
This commit is contained in:
Florian Küpper authored and GitHub committed 2018-02-07 14:14:02 +01:00
commit ce455a8b12
1 file changed
+2
+2
View File
@@ -79,11 +79,13 @@ namespace VocaluxeLib.Log
// Delete the old marker
File.Delete(_CrashMarkerFilePath);
#if !DEBUG
if (_CurrentVersion == versionTag && File.Exists(mainLogFilePath))
{
string logContent = File.ReadAllText(mainLogFilePath, Encoding.UTF8);
_ShowReporterFunc(crash:true, showContinue:true, vocaluxeVersionTag:versionTag, log:logContent, lastError:"Vocaluxe crashed while the last execution.");
}
#endif
}
// Write new marker