Skip to content

Commit

Permalink
Update error message on exceptions being caught
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser Greenroyd committed Feb 27, 2024
1 parent 0f99220 commit e2b4e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BHoM_Windows_UI/Settings/SearchSettingsWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private void LoadSettings(object sender, EventArgs e)
}
catch (Exception ex)
{
MessageBox.Show($"An error occurred in loading that settings file. The error recorded was {ex.Message}. Settings have not been loaded.", "Error loading settings file.", MessageBoxButton.OK);
MessageBox.Show($"An error occurred in loading that settings file. Settings have not been loaded. The error recorded was {ex.Message}", "Error loading settings file.", MessageBoxButton.OK);
BH.Engine.Base.Compute.ThrowErrorsAsExceptions(false); //Just in case - belt and braces
}
}
Expand Down

0 comments on commit e2b4e57

Please sign in to comment.