exception

main
Valentin Ochs 2022-11-06 19:19:57 +01:00
parent 1ef8bd828c
commit 36ef03a0ac
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class DoorControlNfc(util.Loggable):
else:
valid_thru = None
except Exception:
self._logger().error(f"Could not parse valid thru date for token {token} in line {i}")
self._logger().exception(f"Could not parse valid thru date {valid_thru} for token {token} in line {i+1}")
valid_thru = None
self._logger().debug(f"Got token {token} associated with {name} <{email}> of {organization}, valid thru {valid_thru}")
if token in valid: