diff --git a/apps/cds/src/cds_thrift_handler_utils.erl b/apps/cds/src/cds_thrift_handler_utils.erl index f4b088a..f29fc15 100644 --- a/apps/cds/src/cds_thrift_handler_utils.erl +++ b/apps/cds/src/cds_thrift_handler_utils.erl @@ -58,8 +58,9 @@ filter_stacktrace_item({Module, Function, Args, Location}) when is_list(Location) -> {Module, Function, filter_stacktrace_args(Args), Location}; -filter_stacktrace_item(_) -> - '***'. +filter_stacktrace_item(StacktraceItem) -> + %% FIXME Temporary do not filter any other stacktrace item + StacktraceItem. filter_stacktrace_args(Args) -> filter(Args). @@ -84,5 +85,6 @@ filter(Reason) when -> Reason; % Other -filter(_Reason) -> - '***'. +filter(Reason) -> + %% FIXME Temporary do not filter any other reason + Reason. diff --git a/apps/cds/src/cds_woody_event_handler.erl b/apps/cds/src/cds_woody_event_handler.erl index abb6bd2..845da72 100644 --- a/apps/cds/src/cds_woody_event_handler.erl +++ b/apps/cds/src/cds_woody_event_handler.erl @@ -132,7 +132,8 @@ filter(T) when is_tuple(T) -> filter(M) when is_map(M) -> genlib_map:truemap(fun(K, V) -> {filter(K), filter(V)} end, M); filter(B) when is_bitstring(B) -> - <<"***">>; + %% FIXME Temporary do not filter any bitstring/binary + B; filter(P) when is_pid(P) -> P; filter(P) when is_port(P) ->