diff --git a/r2/r2/controllers/ipn.py b/r2/r2/controllers/ipn.py index 04fe0c05c..4ef9e8977 100644 --- a/r2/r2/controllers/ipn.py +++ b/r2/r2/controllers/ipn.py @@ -807,10 +807,10 @@ class StripeController(GoldPaymentController): else: try: passthrough, buyer_name = description.split('-', 1) - except ValueError: + except (AttributeError, ValueError): g.log.error('stripe_error on charge: %s', charge) raise - + webhook = Webhook(passthrough=passthrough, transaction_id=transaction_id, pennies=pennies, months=months) return status, webhook