mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 12:41:29 +02:00
linting
This commit is contained in:
parent
1e5185b328
commit
fefbaeb143
@ -95,7 +95,7 @@ def change_plan(subscription_id: str, plan_id) -> (bool, str):
|
||||
# "unable to complete the resubscription because we could not charge the customer for the resubscription"
|
||||
if res["error"]["code"] == 147:
|
||||
return False, "Your card cannot be charged"
|
||||
except:
|
||||
except KeyError:
|
||||
LOG.exception(
|
||||
f"cannot change subscription {subscription_id} to {plan_id}, paddle response: {res}"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user