mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
Merge branch 'master' of git@github.com:msgpack/msgpack
This commit is contained in:
commit
821b1f0384
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ public class DefaultTemplate implements Template {
|
|||
public void pack(Packer pk, Object target) throws IOException {
|
||||
if(messagePackable) {
|
||||
if(target == null) {
|
||||
throw new MessageTypeException("target is null: " + target.getClass().getName());
|
||||
throw new MessageTypeException("target is null.");
|
||||
}
|
||||
((MessagePackable)target).messagePack(pk);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue