Skip to content

Commit

Permalink
Process ok messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lubien committed Mar 24, 2022
1 parent 162cd94 commit 0c79e78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/gnat.ex
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,9 @@ defmodule Gnat do
send state.pinger, :pong
state
end
defp process_message(:ok, state) do
state
end
defp process_message({:error, message}, state) do
:error_logger.error_report([
type: :gnat_error_from_broker,
Expand Down

0 comments on commit 0c79e78

Please sign in to comment.