Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LG-14442: Add error handling and invalid character check to public usps locations controller #11470

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jennyverdeyen
Copy link
Member

🎫 Ticket

Link to the relevant ticket:
LG-14442

🛠 Summary of changes

Adds error handling to the public USPS locations controller. Also adds a check for invalid characters before making the call to USPS, otherwise throwing a UspsLocationsError. Analytics added for when errors occur.

📜 Testing Plan

In the identity-site which calls this public controller, the front end checks should prevent invalid characters from being submitted before the controller should have to handle it. So instead of a manual test plan, automated tests have been added to test that this check and the error handling works.

  • Verify that the automated tests pass.

@jennyverdeyen jennyverdeyen requested review from a team and eileen-nava November 7, 2024 17:08
changelog: Internal, In-person Proofing, Adding graceful error handling and analytics in public usps locations controller
@jennyverdeyen jennyverdeyen force-pushed the jverdeyen/LG-14442-handle-usps-errors-public-po-search branch from 2ea2856 to a053ada Compare November 7, 2024 19:55
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.

1 participant