forked from goodboy/tractor
Fix attr name error, use public `MsgDec.dec`
parent
88a0e90f82
commit
30c5896d26
|
@ -229,7 +229,7 @@ class PldRx(Struct):
|
||||||
log.runtime(
|
log.runtime(
|
||||||
'Decoded msg payload\n\n'
|
'Decoded msg payload\n\n'
|
||||||
f'{msg}\n'
|
f'{msg}\n'
|
||||||
f'|_pld={pld!r}'
|
f'|_pld={pld!r}\n'
|
||||||
)
|
)
|
||||||
return pld
|
return pld
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ class PldRx(Struct):
|
||||||
except ValidationError as src_err:
|
except ValidationError as src_err:
|
||||||
msgterr: MsgTypeError = _mk_msg_type_err(
|
msgterr: MsgTypeError = _mk_msg_type_err(
|
||||||
msg=msg,
|
msg=msg,
|
||||||
codec=self._dec,
|
codec=self.dec,
|
||||||
src_validation_error=src_err,
|
src_validation_error=src_err,
|
||||||
)
|
)
|
||||||
msg: Error = pack_from_raise(
|
msg: Error = pack_from_raise(
|
||||||
|
|
Loading…
Reference in New Issue