withastro / houston-discord

MIT License
10 stars 5 forks source link

Respond with 404 on non existent route #77

Closed mandar1jn closed 11 months ago

mandar1jn commented 11 months ago

Mostly just to get rid of the errors in the cloudflare dashboard

mandar1jn commented 11 months ago

That makes total sense! Maybe also wrap router.handle in a try/catch and return a 500 error if it fails?

good call. Added