Skip to content
Snippets Groups Projects

Generate a correct response for the voucher-already-paid case

Previously payForVoucher threw an exception which only the fallback WAI exception handler would catch. The fallback handler generated non-descript 500 errors.

Now charge handles the exception from payForVoucher and re-throws a ServantError which Servant renders nicely into a correct response.

Merge request reports

Merged by Jean-Paul CalderoneJean-Paul Calderone Mar 1, 2022 (Mar 1, 2022 1:35pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading