Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@brianscherner
Copy link
Contributor

This PR:

Resolves #697

This PR updates the error handling in the Add Contact flow to ensure that users see clear, user-friendly error messages instead of raw exception output.

1. Replaced raw exception messages with a getUserFriendlyError helper that maps common errors (401, 403, 404, network) into readable notifications for end users.

Screenshots (if applicable):

issue-697-snip2
issue-697-snip

Copy link
Contributor

@leekahung leekahung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks for adding this.

Saw the issue with the GitHub actions checks, should be fine with what you added in the other PR when we merge that.

@brianscherner brianscherner merged commit 61dd27c into Development Aug 26, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report] - Adding a non-existant contact displays an exception message

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.