Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Aug 24, 2016
1 parent e4cd2f6 commit 833ae06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gratipay/billing/exchanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def capture_card_hold(db, participant, amount, hold):
except Exception as e:
error = repr_exception(e)

print "error capturing card hold:", error
if error == '':
record_exchange_result(db, e_id, 'succeeded', None, participant)
log("Captured " + amount_str + " on Braintree for " + username)
Expand Down
1 change: 1 addition & 0 deletions tests/py/test_billing_exchanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def test_grprbn_includes_team_owners(self):
enterprise = self.make_team(is_approved=True)
self.obama.set_payment_instruction(enterprise, 100)
self.run_payday()
print("picard's balance:", P('picard').balance)
routes = get_ready_payout_routes_by_network(self.db, 'paypal')
assert [r.participant.username for r in routes] == ['picard']

Expand Down

0 comments on commit 833ae06

Please sign in to comment.