Skip to content

Commit

Permalink
[chore] improved log message
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Aug 25, 2021
1 parent 14e4925 commit 5777cda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hn.svelte.dev/src/routes/[list]/[page].svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const list = params.list === 'top' ? 'news' : params.list === 'new' ? 'newest' : params.list;
if (!valid_lists.has(list)) {
console.log('invalid');
console.log(`invalid list parameter ${list}`);
return {
status: 404,
error: 'Not found'
Expand Down

0 comments on commit 5777cda

Please sign in to comment.