mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
stripe: Remove invalid comment.
We use `error_description` in upgrade.ts to determine if the error was related to customer's card. Doesn't seem like there is any harm in doing so since we are explicitly handling "stripe.CardError" and raising these errors with "card error" description.
This commit is contained in:
@@ -419,7 +419,6 @@ class BillingError(JsonableError):
|
||||
CONTACT_SUPPORT = gettext_lazy("Something went wrong. Please contact {email}.")
|
||||
TRY_RELOADING = gettext_lazy("Something went wrong. Please reload the page.")
|
||||
|
||||
# description is used only for tests
|
||||
def __init__(self, description: str, message: Optional[str] = None) -> None:
|
||||
self.error_description = description
|
||||
if message is None:
|
||||
|
Reference in New Issue
Block a user