Skip to content

Commit c95244a

Browse files
precizSteffenDE
authored andcommitted
Clarify external upload error message (#4245)
1 parent dda4b92 commit c95244a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/phoenix_live_view/upload_config.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ defmodule Phoenix.LiveView.UploadConfig do
177177
raise ArgumentError, """
178178
invalid :external value provided to allow_upload.
179179
180-
Only an anymous function receiving the socket as an argument is supported. Got:
180+
Only a 2-arity function receiving the upload entry and socket is supported. Got:
181181
182182
#{inspect(other)}
183183
"""

0 commit comments

Comments
 (0)