Skip to content

Commit ad1cbd7

Browse files
authored
Merge pull request #182 from emqx/hint-shard-in-probe-failure
chore: hint shard in probe failure
2 parents 2516d1a + 587a2cc commit ad1cbd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mria_rlog.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ subscribe(Shard, RemoteNode, Subscriber, Checkpoint) ->
170170
Args = [Shard, {MyNode, Subscriber}, Checkpoint],
171171
mria_lib:rpc_call_nothrow({RemoteNode, Shard}, mria_rlog_server, subscribe, Args);
172172
false ->
173-
{badrpc, probe_failed}
173+
{badrpc, {probe_failed, Shard}}
174174
end.
175175

176176
%% @doc Get version of Mria protocol running on the node

0 commit comments

Comments
 (0)