yangtb24 commited on
Commit
72d48c1
·
verified ·
1 Parent(s): 9baf5b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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