mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 17:09:49 -04:00
fix static scan warnings
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user