[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 d3bc720..ef512bc 100644
--- a/lib/erl/src/thrift_oop_server.erl
+++ b/lib/erl/src/thrift_oop_server.erl
@@ -121,7 +121,7 @@
{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.