fix static scan warnings

This commit is contained in:
Kenneth Kehl
2025-04-01 08:53:33 -07:00
parent 73cfb1a1ed
commit 49252963f9
6 changed files with 6 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ def sns_notification_handler(data, headers):
if "SubscribeUrl" in message
else message.get("SubscribeURL")
)
response = requests.get(url)
response = requests.get(url, timeout=30)
try:
response.raise_for_status()
except Exception as e: