diff --git a/src/grisp_io_logtest.erl b/src/grisp_io_logtest.erl index 5c59a80..0f4151c 100644 --- a/src/grisp_io_logtest.erl +++ b/src/grisp_io_logtest.erl @@ -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,