Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def send_form(form_data):
|
|
| 19 |
# Send POST request with form data
|
| 20 |
response = requests.post(url, data=form_data)
|
| 21 |
response.raise_for_status() # Raise exception for HTTP errors
|
| 22 |
-
logging.info("Submitted successfully to Google Form.")
|
| 23 |
except requests.exceptions.RequestException as e:
|
| 24 |
logging.error("Failed to submit to Google Form: " + str(e))
|
| 25 |
|
|
|
|
| 19 |
# Send POST request with form data
|
| 20 |
response = requests.post(url, data=form_data)
|
| 21 |
response.raise_for_status() # Raise exception for HTTP errors
|
| 22 |
+
#logging.info("Submitted successfully to Google Form.")
|
| 23 |
except requests.exceptions.RequestException as e:
|
| 24 |
logging.error("Failed to submit to Google Form: " + str(e))
|
| 25 |
|