Skip to content

Commit

Permalink
chore(doip): Slightly adapt log messages and level for read worker
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdinandjarisch committed Oct 21, 2024
1 parent efd6d0a commit 33f84bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gallia/transports/doip.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,11 +551,11 @@ async def _read_worker(self) -> None:
continue
await self._read_queue.put((hdr, data))
except asyncio.CancelledError:
logger.debug("read worker cancelled")
logger.debug("DoIP read worker got cancelled")
except asyncio.IncompleteReadError as e:
logger.debug(f"read worker received EOF: {e}")
logger.debug(f"DoIP read worker received EOF: {e!r}")
except Exception as e:
logger.critical(f"read worker died with {type(e)}: {e}")
logger.info(f"DoIP read worker died with {e!r}")
finally:
logger.debug("Feeding EOF to reader and requesting a close")
self.reader.feed_eof()
Expand Down

0 comments on commit 33f84bc

Please sign in to comment.