Skip to content

Commit

Permalink
feat(auth.py): add logging when clearing device key to improve tracea…
Browse files Browse the repository at this point in the history
…bility
  • Loading branch information
NodeJSmith committed Jul 15, 2024
1 parent 2503728 commit 101f195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/otf_api/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def device_key(self) -> str | None:
@device_key.setter
def device_key(self, value: str | None):
if not value:
logger.info("Clearing device key")
self._device_key = value
return

Expand Down

0 comments on commit 101f195

Please sign in to comment.