Log queue_utils ra's local_query rpc error

This commit is contained in:
Iliia Khaprov 2025-06-13 14:51:41 +02:00
parent 2f3bed5a5b
commit 9a2f702f4f
No known key found for this signature in database
GPG Key ID: 4DCFF8F358E49AED
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,8 @@ dirty_query(Servers, QName, Fun) ->
case rpc:call(N, ra, local_query, [{QName, N}, Fun]) of case rpc:call(N, ra, local_query, [{QName, N}, Fun]) of
{ok, {_, Msgs}, _} -> {ok, {_, Msgs}, _} ->
Msgs; Msgs;
_E -> E ->
ct:log(error, "~s:~s rpc:call ra:local_query failed with ~p", [?MODULE, ?FUNCTION_NAME, E]),
undefined undefined
end end
end, Servers). end, Servers).