fix trailing data exception
Opened this issue · 0 comments
DamKast commented
When there is trailing data in a frame an ValueError is raised. But we should only log a warning.
types/commands.py:from_frame
else:
# Otherwise, let the exception happen
raise
if data:
raise ValueError(
f"Frame {frame} contains trailing data after parsing: {data}"
)
return cls(**params)