Include repr() of data in error msg
This commit is contained in:
parent
a50d53b508
commit
4ffb87d361
@ -142,7 +142,7 @@ class NoDataRecord(Record[None, None]):
|
||||
@classmethod
|
||||
def pack_data(cls: type[Self], data: None) -> bytes:
|
||||
if data is not None:
|
||||
raise KlamathError('?? Packing {data} into NoDataRecord??')
|
||||
raise KlamathError('?? Packing {data!r} into NoDataRecord??')
|
||||
return b''
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user