buttondown / roadmap

Buttondown's public roadmap
51 stars 0 forks source link

StripeAccount.newsletter.RelatedObjectDoesNotExist: StripeAccount has no newsletter. #3158

Closed sentry-io[bot] closed 1 month ago

sentry-io[bot] commented 1 month ago

Sentry Issue: APPLICATION-BACKEND-6VR

StripeAccount.newsletter.RelatedObjectDoesNotExist: StripeAccount has no newsletter.
(6 additional frame(s) were not displayed)
...
  File "emails/models/bulk_action/actions/process.py", line 271, in call
    TYPE_TO_CALLABLE[cast(BulkAction.Type, bulk_action.action_type)](bulk_action)
  File "emails/models/bulk_action/actions/process.py", line 215, in mark_subscribers_as_not_spammy
    mark_as_not_spammy.call(subscriber)
  File "emails/models/subscriber/actions/mark_as_not_spammy.py", line 8, in call
    resubscribe.call(subscriber)
  File "emails/models/subscriber/actions/resubscribe.py", line 13, in call
    subscriber.subscriber_type = determine_subscriber_type.call(
  File "monetization/models/subscription/actions/determine_subscriber_type.py", line 21, in call
    newsletter = customer.account.newsletter