moved 2 parameters #196

Merged
muellerr merged 13 commits from move-pdu-datavar into v4.0.0-dev 2023-06-09 12:41:56 +02:00
Showing only changes of commit 14d14f12c0 - Show all commits

View File

@ -35,7 +35,8 @@ def pus_factory_hook(
return
try:
tm_packet = PusTelemetry.unpack(packet, CdsShortTimestamp.empty())
except ValueError:
except ValueError as value_error:
_LOGGER.warning(f"{value_error}")
_LOGGER.warning("Could not generate PUS TM object from raw data")
_LOGGER.warning(f"Raw Packet: [{packet.hex(sep=',')}], REPR: {packet!r}")
return