From: eletuchy Date: Wed, 27 Feb 2008 18:38:42 +0000 (+0000) Subject: [thrift] erlang dialyzer error X-Git-Tag: 0.2.0~947 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=53e571968f2ba9e0cba7e7e22962a22d610afcdb;p=common%2Fthrift.git [thrift] erlang dialyzer error Summary: impossible pattern matches are never good Reviewed By: cpiro Test Plan: make dialyzer Revert Plan: sure git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665525 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/erl/src/thrift_oop_server.erl b/lib/erl/src/thrift_oop_server.erl index d3bc7207..ef512bc1 100644 --- a/lib/erl/src/thrift_oop_server.erl +++ b/lib/erl/src/thrift_oop_server.erl @@ -121,7 +121,7 @@ handle_exception(E, Stack) -> {true, _} -> % good E1 = tException:add_backtrace_element(E, Stack), exit({thrift_exception, E1}); - false -> % shit + {false, _} -> % shit ?ERROR("exception wasn't really a tException ~p", [E]), exit(bum) end.