Log queue_utils ra's local_query rpc error
This commit is contained in:
parent
2f3bed5a5b
commit
9a2f702f4f
|
@ -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).
|
||||||
|
|
Loading…
Reference in New Issue