Skip to content

Commit

Permalink
[Editor] Fix exception with the Privacy Policy link in the Crash Repo…
Browse files Browse the repository at this point in the history
…rter (#1878)
  • Loading branch information
MeharDT committed Oct 3, 2023
1 parent 02f6a1e commit 025e30d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sources/editor/Stride.Editor.CrashReport/CrashReportForm.cs
Expand Up @@ -107,7 +107,11 @@ private void LinkPrivacyPolicy_LinkClicked(object sender, LinkLabelLinkClickedEv
{
try
{
Process.Start(PrivacyPolicyUrl);
//Open URL in user's default browser when clicked
Process process = new Process();
process.StartInfo.FileName = PrivacyPolicyUrl;
process.StartInfo.UseShellExecute = true;
process.Start();
}
// FIXME: catch only specific exceptions?
catch (Exception)
Expand Down

0 comments on commit 025e30d

Please sign in to comment.