Skip to content

Commit

Permalink
Remove error tracking for UriFormatException
Browse files Browse the repository at this point in the history
The logging of UriFormatException in EnterOpenApiSpecDialog.cs was removed. This was because the exception was not bringing much informational value and was unnecessarily cluttering the logs. The error is handled directly in the UI by displaying a message about the invalid URL to the user.
  • Loading branch information
christianhelle committed Nov 1, 2023
1 parent 26761a1 commit 0ecde50
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ private async Task OnButtonClickAsync()
}
catch (UriFormatException ex)
{
Logger.Instance.TrackError(ex);
const string message = "Invalid URL";
lblStatus.Text = message;
Logger.Instance.WriteLine(message);
Expand Down

0 comments on commit 0ecde50

Please sign in to comment.