diff --git a/lib/phoenix_live_view/upload_writer.ex b/lib/phoenix_live_view/upload_writer.ex index b63e0b4697..80a7dd73ab 100644 --- a/lib/phoenix_live_view/upload_writer.ex +++ b/lib/phoenix_live_view/upload_writer.ex @@ -29,6 +29,8 @@ defmodule Phoenix.LiveView.UploadWriter do defmodule EchoWriter do @behaviour Phoenix.LiveView.UploadWriter + require Logger + @impl true def init(opts) do {:ok, %{total: 0, level: Keyword.fetch!(opts, :level)}}