codec: Fix the error message and print the real commandId
This commit is contained in:
parent
7bee831b63
commit
eacd66d90a
|
@ -164,7 +164,7 @@ sub-classes will provide the specific bodies.'>
|
||||||
aHeader commandId = each messageType
|
aHeader commandId = each messageType
|
||||||
ifTrue: [^each new readFrom: aStream]].
|
ifTrue: [^each new readFrom: aStream]].
|
||||||
|
|
||||||
^self error: 'No handler for command id = %1' % aHeader commandId displayString.
|
^self error: 'No handler for command id = %1' % {aHeader commandId displayString}.
|
||||||
]
|
]
|
||||||
|
|
||||||
readFrom: aStream [
|
readFrom: aStream [
|
||||||
|
|
Reference in New Issue