diff --git a/backend/apps/account_payment/graphql.py b/backend/apps/account_payment/graphql.py index bc6cd065..27934d8b 100644 --- a/backend/apps/account_payment/graphql.py +++ b/backend/apps/account_payment/graphql.py @@ -386,7 +386,10 @@ def mutate(cls, root, info, subscription_id): stripe_subscription = subscription.subscription stripe_subscription.cancel(at_period_end=False) - + return None + except Exception as e: + logger.error(e) + return cls(errors=[str(e)]) class StripeSubscriptionAddMemberMutation(Mutation): """Add account to subscription"""