keep on flakin the flake world

This commit is contained in:
stvnrlly
2022-10-21 13:29:52 +00:00
parent 9f37592b1e
commit 8e2b8dd7c4
5 changed files with 14 additions and 15 deletions

View File

@@ -58,12 +58,12 @@ def sns_notification_handler(data, headers):
response.raise_for_status()
except Exception as e:
current_app.logger.warning(
f"Attempt to raise_for_status()SubscriptionConfirmation Type \
message files for response: {response.text} with error {e}"
f"Attempt to raise_for_status()SubscriptionConfirmation Type "
f"message files for response: {response.text} with error {e}"
)
raise InvalidRequest(
"SES-SNS callback failed: attempt to raise_for_status()SubscriptionConfirmation \
Type message failed", 400
"SES-SNS callback failed: attempt to raise_for_status()SubscriptionConfirmation "
"Type message failed", 400
)
current_app.logger.info("SES-SNS auto-confirm subscription callback succeeded")
return message