Remove log

This commit is contained in:
James Hush
2025-10-20 17:03:31 +08:00
parent d37e63d972
commit 45256903b5

View File

@@ -119,16 +119,7 @@ async def create_daily_room(
except RetryError as e: except RetryError as e:
# All retries exhausted # All retries exhausted
last_exception = e.last_attempt.exception() last_exception = e.last_attempt.exception()
if isinstance(last_exception, HTTPStatusError): logger.exception(f"Failed to create room after {max_retries} retries: {last_exception}")
if last_exception.response.status_code == 429:
logger.error(f"Rate limit exceeded after {max_retries} retries")
else:
logger.error(
f"HTTP {last_exception.response.status_code} error creating room: "
f"{last_exception.response.text}"
)
else:
logger.exception(f"Failed to create room after {max_retries} retries: {last_exception}")
return None return None
except Exception as e: except Exception as e: