Skip to content

fix: add error handling to hybrid search route#120

Open
julianbenegas wants to merge 1 commit intomainfrom
claude/slack-fix-search-repo-CvClb
Open

fix: add error handling to hybrid search route#120
julianbenegas wants to merge 1 commit intomainfrom
claude/slack-fix-search-repo-CvClb

Conversation

@julianbenegas
Copy link
Member

The hybrid search API route was missing error handling, causing unhandled errors when searching in a repo if Typesense or the database queries failed. This fix adds try/catch to gracefully return an empty result with a 500 status on failure.

The hybrid search API route was missing error handling, causing
unhandled errors when searching in a repo if Typesense or the
database queries failed. This fix adds try/catch to gracefully
return an empty result with a 500 status on failure.
@vercel
Copy link
Contributor

vercel bot commented Jan 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
forums Ready Ready Preview, Comment Jan 21, 2026 10:34pm

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

Successfully merging this pull request may close these issues.

2 participants