Skip to content

Commit

Permalink
Merge pull request #1712 from os/add-missing-argument
Browse files Browse the repository at this point in the history
Add missing argument for format string
  • Loading branch information
jneves committed Dec 17, 2018
2 parents b0abe75 + 8c07685 commit 4cf80b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zappa/core.py
Expand Up @@ -2336,7 +2336,7 @@ def _clear_policy(self, lambda_name):
StatementId=s['Sid']
)
if delete_response['ResponseMetadata']['HTTPStatusCode'] != 204:
logger.error('Failed to delete an obsolete policy statement: {}'.format())
logger.error('Failed to delete an obsolete policy statement: {}'.format(policy_response))
else:
logger.debug('Failed to load Lambda function policy: {}'.format(policy_response))
except ClientError as e:
Expand Down

0 comments on commit 4cf80b2

Please sign in to comment.