diff --git a/gratipay/billing/exchanges.py b/gratipay/billing/exchanges.py index 0b2ed6856d..219af83e71 100644 --- a/gratipay/billing/exchanges.py +++ b/gratipay/billing/exchanges.py @@ -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) diff --git a/tests/py/test_billing_exchanges.py b/tests/py/test_billing_exchanges.py index d75fe77016..da8e8101b8 100644 --- a/tests/py/test_billing_exchanges.py +++ b/tests/py/test_billing_exchanges.py @@ -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']