Skip to content

Commit

Permalink
fix: update log level of 404
Browse files Browse the repository at this point in the history
  • Loading branch information
GetPsyched committed Jun 24, 2024
1 parent 20ceb56 commit b54cb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charachorder/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _execute(self, *args: int | str, **kwargs) -> tuple[str, ...]:
try:
self.connection.write(f"{command}\r\n".encode("utf-8"))
except serialutil.SerialException:
logger.debug(f"[{self}]: Not found. Trying to reconnect...")
logger.warning(f"[{self}]: Device not found; trying to reconnect...")
self._reconnect(timeout=kwargs["timeout"])

for line in self.connection.iread_until():
Expand Down

0 comments on commit b54cb19

Please sign in to comment.