diff --git a/readthedocs/payments/forms.py b/readthedocs/payments/forms.py index 6154f18a1f8..d3eea32748c 100644 --- a/readthedocs/payments/forms.py +++ b/readthedocs/payments/forms.py @@ -27,6 +27,13 @@ def ensure_stripe_resource(self, resource, attrs): del attrs['id'] except KeyError: pass + log.exception( + 'There was an error trying to retrieve a Stripe resource. ' + 'Creating a new resource as a fallback. ' + 'resource=%s attrs=%s', + resource, + attrs, + ) return resource.create(**attrs) else: for (key, val) in list(attrs.items()):