Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
57fd32c
)
[thrift] erlang dialyzer error
author
eletuchy
<dev-null@apache.org>
Wed, 27 Feb 2008 18:38:42 +0000
(18:38 +0000)
committer
eletuchy
<dev-null@apache.org>
Wed, 27 Feb 2008 18:38:42 +0000
(18:38 +0000)
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
lib/erl/src/thrift_oop_server.erl
patch
|
blob
|
history
diff --git
a/lib/erl/src/thrift_oop_server.erl
b/lib/erl/src/thrift_oop_server.erl
index
d3bc720
..
ef512bc
100644
(file)
--- 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.