From 3af5e81593aa5e48bf8537dd627003bad20e1ba3 Mon Sep 17 00:00:00 2001 From: UENISHI Kota Date: Sat, 14 Dec 2013 15:54:28 +0900 Subject: [PATCH] hooray! --- src/msgpack.app.src | 2 +- src/msgpack_packer.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msgpack.app.src b/src/msgpack.app.src index c9dd096..4d7a9e0 100644 --- a/src/msgpack.app.src +++ b/src/msgpack.app.src @@ -1,6 +1,6 @@ {application, msgpack, [{description, "MessagePack serializer/deserializer"}, - {vsn, "0.2.4"}, + {vsn, "0.2.5"}, {modules, [msgpack] }, diff --git a/src/msgpack_packer.erl b/src/msgpack_packer.erl index dd8fbaf..131665c 100644 --- a/src/msgpack_packer.erl +++ b/src/msgpack_packer.erl @@ -86,7 +86,7 @@ pack(Any, _Opt = ?OPTION{ext_packer=Packer, original_list=Orig}) case pack_ext(Any, Packer, Orig) of {ok, Binary} -> Binary; - {error, E} -> throw:error(E) + {error, E} -> throw({error, E}) end; pack(Other, _) ->