Skip to content

Commit f7d66ef

Browse files
authored
Fix position of require Logger (elixir-lang#1570)
1 parent 0a65a51 commit f7d66ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

getting-started/mix-otp/genserver.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,8 @@ def handle_info({:DOWN, ref, :process, _pid, _reason}, {names, refs}) do
304304
end
305305

306306
@impl true
307-
require Logger
308-
309307
def handle_info(msg, state) do
308+
require Logger
310309
Logger.debug("Unexpected message in KV.Registry: #{inspect(msg)}")
311310
{:noreply, state}
312311
end

0 commit comments

Comments
 (0)