From eacd66d90ae3de694acb1026368c9b385cfa06b1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 17 Jun 2014 18:49:48 +0200 Subject: [PATCH] codec: Fix the error message and print the real commandId --- codec/SMPPBodyBase.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec/SMPPBodyBase.st b/codec/SMPPBodyBase.st index 7483a26..7d3a2d0 100644 --- a/codec/SMPPBodyBase.st +++ b/codec/SMPPBodyBase.st @@ -164,7 +164,7 @@ sub-classes will provide the specific bodies.'> aHeader commandId = each messageType 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 [