nexusql 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -3217,7 +3217,13 @@ var Database = class _Database {
3217
3217
  for (const ext of extensions) {
3218
3218
  try {
3219
3219
  await this.exec(`CREATE EXTENSION IF NOT EXISTS "${ext}";`);
3220
- } catch {
3220
+ } catch (error) {
3221
+ const message = error instanceof Error ? error.message : String(error);
3222
+ throw new Error(
3223
+ `Failed to install extension "${ext}": ${message}
3224
+ Make sure the extension is installed on your PostgreSQL server.
3225
+ For pgvector: https://github.com/pgvector/pgvector#installation`
3226
+ );
3221
3227
  }
3222
3228
  }
3223
3229
  }