Skip to content

Commit

Permalink
fix: bad return value for ErlSysMon handle_info (#2220)
Browse files Browse the repository at this point in the history
  • Loading branch information
chasers authored Sep 27, 2024
1 parent c65c670 commit 72af7e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/logflare/erl_sys_mon.ex
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ defmodule Logflare.ErlSysMon do
end

# fallback for ports etc
def handle_info(msg, _state) do
def handle_info(msg, state) do
Logger.warning("#{__MODULE__} message: #{inspect(msg)}")

{:noreply, state}
end
end

0 comments on commit 72af7e4

Please sign in to comment.