Skip to content

Commit

Permalink
improve log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Jan 4, 2025
1 parent 314c05e commit ea419ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/evohomeasync/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def _get_config(self) -> list[EvoTcsInfoDictT]:
# due the (albeit valid) session_id being rejected by the server (why?)

self.logger.warning(
f"The session_id appears invalid (will re-authenticate): {err}"
f"The session_id has been rejected (will re-authenticate): {err}"
)

self._session_manager._clear_session_id()
Expand Down
2 changes: 1 addition & 1 deletion src/evohomeasync2/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async def _get_config(
# due the (albeit valid) access_token being rejected by the server (why?)

self.logger.warning(
f"The access_token appears invalid (will re-authenticate): {err}"
f"The access_token has been rejected (will re-authenticate): {err}"
)

self._token_manager._clear_access_token()
Expand Down

0 comments on commit ea419ff

Please sign in to comment.