mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-16 02:02:13 -05:00
fix static scan warnings
This commit is contained in:
@@ -8,7 +8,7 @@ def confirm_subscription(confirmation_request):
|
||||
current_app.logger.warning("SubscribeURL does not exist or empty")
|
||||
return
|
||||
|
||||
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