mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
initial
This commit is contained in:
@@ -47,7 +47,8 @@ def sns_notification_handler(data, headers):
|
||||
validate_sns_cert(message)
|
||||
except Exception as e:
|
||||
current_app.logger.error(
|
||||
f"SES-SNS callback failed: validation failed with error: Signature validation failed with error {e}"
|
||||
f"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