mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
fix flake 8
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user