From 8ed68286984fcab66ab30a53938c856d8ed7aa2a Mon Sep 17 00:00:00 2001 From: Aleksey Kashapov Date: Wed, 25 Mar 2026 11:12:14 +0300 Subject: [PATCH 1/2] DEBUG: Allow any reason through woody event handler's filter --- apps/cds/src/cds_thrift_handler_utils.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/cds/src/cds_thrift_handler_utils.erl b/apps/cds/src/cds_thrift_handler_utils.erl index f4b088a..7972781 100644 --- a/apps/cds/src/cds_thrift_handler_utils.erl +++ b/apps/cds/src/cds_thrift_handler_utils.erl @@ -84,5 +84,6 @@ filter(Reason) when -> Reason; % Other -filter(_Reason) -> - '***'. +filter(Reason) -> + %% FIXME Temporary do not filter any other reason + Reason. From 1b4c699fc1e01fe984a75169f646e1c1aaa245c3 Mon Sep 17 00:00:00 2001 From: Aleksey Kashapov Date: Wed, 25 Mar 2026 11:56:37 +0300 Subject: [PATCH 2/2] Disables all other wildcard filters --- apps/cds/src/cds_thrift_handler_utils.erl | 5 +++-- apps/cds/src/cds_woody_event_handler.erl | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/cds/src/cds_thrift_handler_utils.erl b/apps/cds/src/cds_thrift_handler_utils.erl index 7972781..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). 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) ->