Skip to content

Commit

Permalink
Fix send_logs match
Browse files Browse the repository at this point in the history
  • Loading branch information
ziopio committed Mar 14, 2024
1 parent b96bd8e commit 02a6bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grisp_io_logtest.erl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ handle_info({timeout, OldRef, logs}, #state{timer = OldRef} = S)->
[length(Events), Dropped]),
case send_logs(Chunk) of
ok -> ok;
{ok, #{<<"seq">> := Seq, <<"dropped">> := ServerDropped}} ->
{ok, #{seq := Seq, dropped := ServerDropped}} ->
dab_logger_bin:sync(Seq, ServerDropped);
E ->
io:format("Error sending logs = ~p\n",[E])
Expand Down

0 comments on commit 02a6bad

Please sign in to comment.