Skip to content

Commit

Permalink
catch any exceptions thrown from handler itself
Browse files Browse the repository at this point in the history
  • Loading branch information
aparajit-pratap committed Jan 19, 2024
1 parent 379782f commit 9231c5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DynamoCoreWpf/ViewModels/Core/DynamoViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -777,10 +777,11 @@ private void CrashGracefully(Exception ex)
DynamoModel.IsCrashing = true;
Analytics.TrackException(ex, true);
Model?.OnRequestsCrashPrompt(new CrashErrorReportArgs(ex));

Exit(false); // don't allow cancellation
}
catch
{ }
Exit(false); // don't allow cancellation
}

/// <summary>
Expand Down

0 comments on commit 9231c5c

Please sign in to comment.