Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: AddPaymentMethodForm shows a more end-user-friendly error messa…
…ge when it encounters an error (#2058) Motivation: * provide a more helpful error message in situations like this #1987 How: * If the AddPaymentForm encounters an error, it doesn't render the error message (that is probably more intended for a developer to debug than the end-user), it renders in the html a message that gives the user an affordance to get in touch with us if the error keeps happening, and doesn't show any dev details. Dev details still appear in the dev console to aid debugging.
- Loading branch information
Showing
2 changed files
with
66 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters