Maintenance fixes
Summary
- Fix route handler error handling in
[param]/[p2]/route.ts- Add proper return statement in catch block to prevent "No response returned" error
- Fix pino logger call to properly serialize errors
Test plan
- Trigger an error in the route handler and verify error is logged with details
- Verify 500 response is returned instead of Next.js internal error