From 3a286c69bdd6df5a5854cb0ad12ee5a1aa6087bd Mon Sep 17 00:00:00 2001 From: Chris McCord Date: Wed, 9 Mar 2022 11:15:53 -0500 Subject: [PATCH] Fix return --- lib/phoenix/tracker/shard.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/phoenix/tracker/shard.ex b/lib/phoenix/tracker/shard.ex index 9674e21d..6fd792b6 100644 --- a/lib/phoenix/tracker/shard.ex +++ b/lib/phoenix/tracker/shard.ex @@ -222,7 +222,7 @@ defmodule Phoenix.Tracker.Shard do if function_exported?(state.tracker, :handle_info, 2) do case state.tracker.handle_info(msg, state.tracker_state) do {:noreply, new_tracker_state} -> - %{state | tracker_state: new_tracker_state} + {:noreply, %{state | tracker_state: new_tracker_state}} other -> raise ArgumentError, """