Skip to content

Commit

Permalink
fix: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chasers committed Nov 26, 2024
1 parent 273288c commit 1dc7b24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/supavisor/client_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -629,8 +629,7 @@ defmodule Supavisor.ClientHandler do
end

# pool's manager went down
def handle_event(:info, {:DOWN, ref, _, _, reason}, state, %{manager: manager_ref} = data)
when ref == manager_ref do
def handle_event(:info, {:DOWN, ref, _, _, reason}, state, %{manager: ref} = data) do
Logger.error(
"ClientHandler: Manager #{inspect(data.manager)} went down #{inspect(reason)} state #{inspect(state)}"
)
Expand Down

0 comments on commit 1dc7b24

Please sign in to comment.