exception
This commit is contained in:
parent
1ef8bd828c
commit
36ef03a0ac
|
@ -45,7 +45,7 @@ class DoorControlNfc(util.Loggable):
|
||||||
else:
|
else:
|
||||||
valid_thru = None
|
valid_thru = None
|
||||||
except Exception:
|
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
|
valid_thru = None
|
||||||
self._logger().debug(f"Got token {token} associated with {name} <{email}> of {organization}, valid thru {valid_thru}")
|
self._logger().debug(f"Got token {token} associated with {name} <{email}> of {organization}, valid thru {valid_thru}")
|
||||||
if token in valid:
|
if token in valid:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user