Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
anjz committed Mar 27, 2024
1 parent a45e1a9 commit d4898b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stream_transcriber/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,10 @@ async def load_stream(stream_name: str):
if done_routine.exception() is not None:
exception_name = type(done_routine.exception()).__name__
LOGGER.error(
f"Exception for done routine: {done_routine.get_name()}",
f" Exception ({exception_name}): {done_routine.exception()}",
"Exception for done routine: %s. Exception (%s): %s",
done_routine.get_name(),
exception_name,
done_routine.exception(),
extra={"stream": stream_name},
)

Expand Down

0 comments on commit d4898b0

Please sign in to comment.