Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## 0.5.2 - 2026-01-20

### Changed

- `vectorSearch` now includes error details in the 500 response to make debugging easier.

## 0.5.1 - 2026-01-19

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "payloadcms-vectorize",
"version": "0.5.1",
"version": "0.5.2",
"description": "A plugin to vectorize collections for RAG in Payload 3.0",
"license": "MIT",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/endpoints/vectorSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const createVectorSearchHandlers = <TPoolNames extends KnowledgePoolName>

return Response.json({ results })
} catch (error) {
return Response.json({ error: 'Internal server error' }, { status: 500 })
return Response.json({ error: `Internal server error: ${error}` }, { status: 500 })
}
}
return { vectorSearch, requestHandler }
Expand Down