diff --git a/lib/phoenix_live_view/upload_config.ex b/lib/phoenix_live_view/upload_config.ex index c1667261d2..5c46393373 100644 --- a/lib/phoenix_live_view/upload_config.ex +++ b/lib/phoenix_live_view/upload_config.ex @@ -180,7 +180,7 @@ defmodule Phoenix.LiveView.UploadConfig do raise ArgumentError, """ invalid :external value provided to allow_upload. - Only an anonymous function receiving the socket as an argument is supported. Got: + Only a 2-arity function receiving the upload entry and socket is supported. Got: #{inspect(other)} """