-
Notifications
You must be signed in to change notification settings - Fork 63
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
Travel Pay/improve error handling #19453
base: master
Are you sure you want to change the base?
Conversation
Generated by 🚫 Danger |
modules/travel_pay/app/services/travel_pay/claim_association_service.rb
Outdated
Show resolved
Hide resolved
modules/travel_pay/spec/services/claims_association_service_spec.rb
Outdated
Show resolved
Hide resolved
This reverts commit 3672ac5.
Summary
This work is behind a feature toggle (flipper): YES
(Summarize the changes that have been made to the platform)
Since we're integrating the appt > claim association work into other BE API work, we can't just be throwing random exceptions. This work wraps the specific service call in another layer to provide details error messaging to forward to the other service that will integrate with it.
(Which team do you work for, does your team own the maintenance of this component?)
Travel pay
Related issue(s)
Testing done
I would just throw an error, not forward the error message to the next service
Not in use anywhere, must log into ArgoCD and test once it's in Staging.
What areas of the site does it impact?
(Describe what parts of the site are impacted andifcode touched other areas)
Travel Pay module
Acceptance criteria