Skip to content

Commit 3456d18

Browse files
authored
link to discussion (#5548)
1 parent 87552ef commit 3456d18

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/kit/src/runtime/server/utils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ export function check_method_names(mod) {
9797
['get', 'post', 'put', 'patch', 'del'].forEach((m) => {
9898
if (m in mod) {
9999
const replacement = m === 'del' ? 'DELETE' : m.toUpperCase();
100-
throw Error(`Endpoint method "${m}" has changed to "${replacement}"`);
100+
throw Error(
101+
`Endpoint method "${m}" has changed to "${replacement}". See https://github.com/sveltejs/kit/discussions/5359 for more information.`
102+
);
101103
}
102104
});
103105
}

0 commit comments

Comments
 (0)