-
Notifications
You must be signed in to change notification settings - Fork 128
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
Make call to next_steps_email on downloads button click #32029
Make call to next_steps_email on downloads button click #32029
Conversation
formName: getFormName(), | ||
}); | ||
} catch (error) { | ||
// Should we set an error state to display a message in the UI? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to tell the user on the /next-steps
page that the call to send the email failed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sentry call found
Sentry captures a lot of data, and we want to make sure that we only keep information that will be useful for troubleshooting issues. This means that PII should not be recorded.
What you can do
Review your call to Sentry and see if you can reasonably reduce any information that is included, or wait for a VSP review.
|
||
return await response.json(); | ||
} catch (error) { | ||
Sentry.captureException(new Error(`API request failed: ${error.message}`)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sentry found
Resolves department-of-veterans-affairs/va.gov-team#92783
When a user clicks "Continue" on the download page, we make a request to VA Notify to send a confirmation email.
Are you removing, renaming or moving a folder in this PR?
Did you change site-wide styles, platform utilities or other infrastructure?
Summary
When a user clicks "Continue" on the download page, we make a request to VA Notify to send a confirmation email.
Related issue(s)
Testing done
Screenshots
NA
What areas of the site does it impact?
Just the Appoint a Rep app which is still behind a feature flag.
Acceptance criteria
Quality Assurance & Testing
Error Handling
Authentication
NA