mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
erlang: Don't catch exits in thrift_processor
They are not handled properly, so the exit backtrace gets lost. Just ignore them and let them kill the process naturally. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990984 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
63f6126e97
commit
b9561c83f5
@ -69,7 +69,7 @@ handle_function(State=#thrift_processor{in_protocol = IProto,
|
||||
%% [Function, Params, Micro/1000.0]),
|
||||
handle_success(State, Function, Result)
|
||||
catch
|
||||
Type:Data ->
|
||||
Type:Data when Type =:= throw orelse Type =:= error ->
|
||||
handle_function_catch(State, Function, Type, Data)
|
||||
end,
|
||||
after_reply(OProto).
|
||||
|
Loading…
Reference in New Issue
Block a user