Skip to content

Commit

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

0 comments on commit 4042d76

Please sign in to comment.