Update app.py
Browse files
app.py
CHANGED
|
@@ -123,8 +123,10 @@ class EventEmitter:
|
|
| 123 |
async def check_cf_worker_health():
|
| 124 |
try:
|
| 125 |
url = f"{CF_WORKER_URL}/health"
|
|
|
|
| 126 |
async with aiohttp.ClientSession() as session:
|
| 127 |
async with session.get(url) as response:
|
|
|
|
| 128 |
if response.ok:
|
| 129 |
logging.info("Cloudflare Worker health check passed.")
|
| 130 |
return True
|
|
|
|
| 123 |
async def check_cf_worker_health():
|
| 124 |
try:
|
| 125 |
url = f"{CF_WORKER_URL}/health"
|
| 126 |
+
logging.info(f"Checking Cloudflare Worker health at: {url}")
|
| 127 |
async with aiohttp.ClientSession() as session:
|
| 128 |
async with session.get(url) as response:
|
| 129 |
+
logging.info(f"Cloudflare Worker health check response status: {response.status}")
|
| 130 |
if response.ok:
|
| 131 |
logging.info("Cloudflare Worker health check passed.")
|
| 132 |
return True
|