@oino-ts/db-bunsqlite 0.10.0 → 0.10.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.
|
@@ -149,7 +149,7 @@ class OINODbBunSqlite extends db_1.OINODb {
|
|
|
149
149
|
}
|
|
150
150
|
catch (e) {
|
|
151
151
|
result.setError(500, "Exception connecting to database: " + e.message, "OINODbBunSqlite.connect");
|
|
152
|
-
db_1.OINOLog.exception("@oino-ts/db-bunsqlite", "OINODbBunSqlite", "connect",
|
|
152
|
+
db_1.OINOLog.exception("@oino-ts/db-bunsqlite", "OINODbBunSqlite", "connect", "exception in connect", { message: e.message, stack: e.stack });
|
|
153
153
|
}
|
|
154
154
|
db_1.OINOBenchmark.endMetric("OINODb", "connect");
|
|
155
155
|
return result;
|
|
@@ -146,7 +146,7 @@ export class OINODbBunSqlite extends OINODb {
|
|
|
146
146
|
}
|
|
147
147
|
catch (e) {
|
|
148
148
|
result.setError(500, "Exception connecting to database: " + e.message, "OINODbBunSqlite.connect");
|
|
149
|
-
OINOLog.exception("@oino-ts/db-bunsqlite", "OINODbBunSqlite", "connect",
|
|
149
|
+
OINOLog.exception("@oino-ts/db-bunsqlite", "OINODbBunSqlite", "connect", "exception in connect", { message: e.message, stack: e.stack });
|
|
150
150
|
}
|
|
151
151
|
OINOBenchmark.endMetric("OINODb", "connect");
|
|
152
152
|
return result;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oino-ts/db-bunsqlite",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "OINO TS package for using Bun Sqlite databases.",
|
|
5
5
|
"author": "Matias Kiviniemi (pragmatta)",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"module": "./dist/esm/index.js",
|
|
21
21
|
"types": "./dist/types/index.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@oino-ts/db": "^0.10.
|
|
23
|
+
"@oino-ts/db": "^0.10.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "^20.12.7",
|
package/src/OINODbBunSqlite.ts
CHANGED
|
@@ -159,7 +159,7 @@ export class OINODbBunSqlite extends OINODb {
|
|
|
159
159
|
this.isConnected = true
|
|
160
160
|
} catch (e:any) {
|
|
161
161
|
result.setError(500, "Exception connecting to database: " + e.message, "OINODbBunSqlite.connect")
|
|
162
|
-
OINOLog.exception("@oino-ts/db-bunsqlite", "OINODbBunSqlite", "connect",
|
|
162
|
+
OINOLog.exception("@oino-ts/db-bunsqlite", "OINODbBunSqlite", "connect", "exception in connect", {message:e.message, stack:e.stack})
|
|
163
163
|
}
|
|
164
164
|
OINOBenchmark.endMetric("OINODb", "connect")
|
|
165
165
|
return result
|