Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

People crash (500) #392

Open
cnrdh opened this issue Jun 25, 2024 · 2 comments
Open

People crash (500) #392

cnrdh opened this issue Jun 25, 2024 · 2 comments

Comments

@cnrdh
Copy link
Member

cnrdh commented Jun 25, 2024

https://akvaplan.no/no/folk/name/Falk-Petersen/S.

@cnrdh
Copy link
Member Author

cnrdh commented Jun 25, 2024

TypeError: Cannot read properties of undefined (reading 'some')
    at file:///src/services/people.ts:69:10
    at Array.filter (<anonymous>)
    at pubsFromPerson (file:///src/services/people.ts:67:6)
    at eventLoopTick (ext:core/01_core.js:168:7)
    at async pubsFromPersonGroupedByYear (file:///src/services/people.ts:82:5)
    at async GET (file:///src/routes/akvaplanist.tsx:226:9)
    at async handler (https://deno.land/x/[email protected]/src/server/context.ts:293:14)
    at async ext:deno_http/00_serve.ts:364:18

@cnrdh
Copy link
Member Author

cnrdh commented Jul 8, 2024

Works now, but should it 301 / 404 ?
Current people like https://akvaplan.no/no/folk/id/kbo/Pedersen/Kristine redirect:

< HTTP/2 301 
< location: /~kbo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant