fix flake 8

This commit is contained in:
Kenneth Kehl
2024-08-15 10:40:26 -07:00
parent 146f0cc787
commit 3fde9c5d5d
6 changed files with 12 additions and 12 deletions

View File

@@ -45,9 +45,9 @@ def sns_notification_handler(data, headers):
try:
validate_sns_cert(message)
except Exception as e:
except Exception:
current_app.logger.error(
f"SES-SNS callback failed: validation failed with error: Signature validation failed",
"SES-SNS callback failed: validation failed with error: Signature validation failed",
exc_info=True,
)
raise InvalidRequest("SES-SNS callback failed: validation failed", 400)