This commit is contained in:
Kenneth Kehl
2024-08-15 10:31:02 -07:00
parent 714f6f1588
commit 146f0cc787
20 changed files with 113 additions and 92 deletions

View File

@@ -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)