Skip to content

Commit

Permalink
downgrade stripe_api_key not set to a warning
Browse files Browse the repository at this point in the history
downgrade stripe connect account not setup to a warning not error
  • Loading branch information
chrisjsimpson committed Jan 29, 2024
1 parent 4993430 commit ef292ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subscribie/blueprints/admin/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def update_stripe_subscription_statuses(app):
stripe.api_key = get_stripe_secret_key()
connect_account = get_stripe_connect_account()
if stripe.api_key is None:
log.error("Stripe api key not set refusing to update subscription statuses")
log.warning("Stripe api key not set refusing to update subscription statuses") # noqa: E501
if connect_account is None:
log.error(
log.warning(
"Stripe connect account not set. Refusing to update subscription statuses" # noqa: E501
)
if stripe_connect_active():
Expand Down

0 comments on commit ef292ef

Please sign in to comment.