Permalink
Browse files

wrong catch in sockjs_json:decode

  • Loading branch information...
1 parent 2795230 commit acb9579c31b3da2344c5c08d273d35e88464781b Isaev Ivan committed Mar 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sockjs_json.erl
View
@@ -13,5 +13,5 @@ decode(Encoded) ->
try mochijson2_fork:decode(Encoded) of
V -> {ok, V}
catch
- E -> {error, E}
+ _:E -> {error, E}
end.

0 comments on commit acb9579

Please sign in to comment.