Compare commits

...

1 Commits

Author SHA1 Message Date
jan
4ffb87d361 Include repr() of data in error msg 2024-12-20 19:52:16 -08:00

View File

@ -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''