🐛 fix(pgvector.py): improve error message when failing to build PGVector component
The error message when failing to build the PGVector component was not clear and did not provide useful information. This commit changes the error message to be more descriptive and concise, providing only the relevant information about the failure.
This commit is contained in:
parent
e63d9f96dc
commit
8d4aae479c
1 changed files with 1 additions and 1 deletions
|
|
@ -66,4 +66,4 @@ class PostgresqlVectorComponent(CustomComponent):
|
|||
connection_string=pg_server_url,
|
||||
)
|
||||
except Exception as e:
|
||||
raise RuntimeError(f"Failed to build Vector Store: {str(e)}")
|
||||
raise RuntimeError(f"Failed to build PGVector: {e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue