smalltalk
/
osmo-st-gsm
Archived
1
0
Fork 0

gsm48: Pass the not consumed byte array as error string

This commit is contained in:
Holger Hans Peter Freyther 2011-06-28 18:50:48 +02:00
parent 7b2c7f3abb
commit 2a52048abf
1 changed files with 1 additions and 3 deletions

View File

@ -898,9 +898,7 @@ IEMessage subclass: GSM48MSG [
"TODO: Complain if we have not consumed everything"
dat size = 0
ifFalse: [
res inspect.
dat printNl.
self error: 'Every byte should be consumed'.
self error: 'Every byte should be consumed: "%1"' % {dat}.
].
^ res