mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
requirements: Upgrade pyflakes to 2.0.0.
We fix a few errors that only the new version finds.
This commit is contained in:
@@ -48,7 +48,7 @@ def catch_stripe_errors(func: CallableT) -> CallableT:
|
||||
raise StripeError(
|
||||
_("Something went wrong. Please try again or email us at %s.")
|
||||
% (settings.ZULIP_ADMINISTRATOR,))
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
billing_logger.exception("Uncaught error in Stripe integration")
|
||||
raise
|
||||
return wrapped # type: ignore # https://github.com/python/mypy/issues/1927
|
||||
|
||||
Reference in New Issue
Block a user