This commit is contained in:
anlicheng 2025-09-26 15:33:54 +08:00
parent 5c63283e5a
commit 8db8698332

View File

@ -87,7 +87,7 @@ decode0(?MESSAGE_JSONRPC_REPLY, [ReplyBin]) ->
case jiffy:decode(ReplyBin, [return_maps]) of
#{<<"result">> := Result} ->
{ok, #jsonrpc_reply{result = Result}};
#{<<"id">> := Id, <<"error">> := Error} ->
#{<<"error">> := Error} ->
{ok, #jsonrpc_reply{error = Error}};
_ ->
error