mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
v3.6.2
- (Add) Debug sub menu to test some behaviours (Only when compiled in debug mode, not visible on public release) - (Add) Utility method `LayerExists` to the file formats to know if specific layer index exists in the collection - (Improvement) Add loaded file information to the crash dialog message - (Fix) Message dialog height do not expand with text (#537) - (Fix) Crash when all layers get removed and UI attempt to show a layer (#538)
This commit is contained in:
@@ -86,7 +86,12 @@ public static class Program
|
||||
{
|
||||
try
|
||||
{
|
||||
SystemAware.StartThisApplication($"--crash-report \"{category}\" \"{ex}\"");
|
||||
string? file = null;
|
||||
if (App.SlicerFile is not null)
|
||||
{
|
||||
file = $"{App.SlicerFile.Filename} [Version: {App.SlicerFile.Version}] [Class: {App.SlicerFile.GetType().Name}]";
|
||||
}
|
||||
SystemAware.StartThisApplication($"--crash-report \"{category}\" \"{ex}\" \"{file}\"");
|
||||
//var errorMsg = $"An application error occurred. Please contact the administrator with the following information:\n\n{ex}";
|
||||
//await App.MainWindow.MessageBoxError(errorMsg, "Fatal Non-UI Error");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user