From acba77976d4f4d5ec4d0673a63d0b46a711c813b Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 24 Dec 2020 06:55:19 +0530 Subject: [PATCH] Add missing formatting identifier --- utils/stripe_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/stripe_utils.py b/utils/stripe_utils.py index d32bd4e5..f5df8aa8 100644 --- a/utils/stripe_utils.py +++ b/utils/stripe_utils.py @@ -269,7 +269,7 @@ class StripeUtils(object): stripe_plan_id=stripe_plan_id) except stripe.error.InvalidRequestError as e: logger.error(str(e)) - logger.error("error_code = " % e.__dict__) + logger.error("error_code = %s" % str(e.__dict__)) if self.RESOURCE_ALREADY_EXISTS_ERROR_CODE in e.error.code: logger.debug( self.PLAN_EXISTS_ERROR_MSG.format(stripe_plan_id))