Browse Source

Added PixiEditor version to crash report

CPKreuz 3 years ago
parent
commit
0553478d2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      PixiEditor/Models/DataHolders/CrashReport.cs

+ 1 - 1
PixiEditor/Models/DataHolders/CrashReport.cs

@@ -21,7 +21,7 @@ namespace PixiEditor.Models.DataHolders
             DateTime currentTime = DateTime.Now;
             DateTime currentTime = DateTime.Now;
 
 
             builder
             builder
-                .AppendLine($"PixiEditor crashed on {currentTime:yyyy.MM.dd} at {currentTime:HH:mm:ss}\n")
+                .AppendLine($"PixiEditor {VersionHelpers.GetCurrentAssemblyVersionString()} crashed on {currentTime:yyyy.MM.dd} at {currentTime:HH:mm:ss}\n")
                 .AppendLine("-----System Information----")
                 .AppendLine("-----System Information----")
                 .AppendLine("General:")
                 .AppendLine("General:")
                 .AppendLine($"  OS: {Environment.OSVersion.VersionString}")
                 .AppendLine($"  OS: {Environment.OSVersion.VersionString}")