Skip to content

Commit

Permalink
ruff check
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshp19 committed Nov 17, 2024
1 parent caf6056 commit f1c3b43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ async def input_generator():
await self._run_stream(stream)
except (Aborted, Exception) as e:
error_type = "Aborted" if isinstance(e, Aborted) else "Error"

if retry_count >= max_retry:
logger.error(
f"Failed to connect to Google STT after {max_retry} tries due to {error_type}",
Expand Down

0 comments on commit f1c3b43

Please sign in to comment.