Skip to content

Commit 59eedcd

Browse files
committed
router: fix error message
we no longer use the path as a source of the table name
1 parent da652c0 commit 59eedcd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/phoenix/sync/router.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ defmodule Phoenix.Sync.Router do
181181
[table: table]
182182

183183
:error ->
184-
raise ArgumentError,
185-
message:
186-
"No valid table specified. The path #{inspect(path)} is not a valid table name and no `:table` option passed."
184+
raise ArgumentError, message: "Cannot build shape: no :table specified."
187185
end
188186
|> add_namespace(opts)
189187
end

0 commit comments

Comments
 (0)