@frogfish/k2db 1.0.14 → 1.0.15

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.
Files changed (2) hide show
  1. package/db.js +1 -1
  2. package/package.json +2 -2
package/db.js CHANGED
@@ -85,7 +85,7 @@ class K2DB {
85
85
  }
86
86
  catch (err) {
87
87
  // 9. Handle connection error
88
- throw new k2error_1.K2Error(k2error_1.ServiceError.SYSTEM_ERROR, "Failed to connect to MongoDB", "sys_mdb_init", this.normalizeError(err));
88
+ throw new k2error_1.K2Error(k2error_1.ServiceError.SYSTEM_ERROR, `Failed to connect to MongoDB: ${err.message}`, "sys_mdb_init", this.normalizeError(err));
89
89
  }
90
90
  }
91
91
  /**
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@frogfish/k2db",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "A data handling library for K2 applications.",
5
5
  "main": "data.js",
6
6
  "types": "data.d.ts",
7
7
  "author": "El'Diablo",
8
8
  "license": "GPL-3.0-only",
9
9
  "dependencies": {
10
- "@frogfish/k2error": "^1.0.1",
10
+ "@frogfish/k2error": "^1.0.2",
11
11
  "debug": "^4.3.7",
12
12
  "mongodb": "^6.9.0",
13
13
  "uuid": "^10.0.0"