This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle the Balanced API more saferly during payday
This makes us more robust in the face of failures communicating with the Balanced API. Now we've got a blanket try/except around the parts where we talk to Balanced, so we will never totally crash because of a mishandling of some sort. The ach_credit side is not as well-factored as the charge_on_balanced side, and is not tested as a result. This commit nonetheless attempts to implement the same error handling on both sides.
- Loading branch information
1 parent
a97d1be
commit 28f2fa3
Showing
2 changed files
with
13 additions
and
4 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