Include repr() of data in error msg
This commit is contained in:
parent
a50d53b508
commit
4ffb87d361
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue