badmfck-api-server 2.2.6 → 2.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -83,7 +83,7 @@ async function Initializer(services) {
83
83
  exports.Initializer = Initializer;
84
84
  class APIService extends BaseService_1.BaseService {
85
85
  static nextLogID = 0;
86
- version = "2.2.6";
86
+ version = "2.2.7";
87
87
  options;
88
88
  monitor;
89
89
  monitorIndexFile;
@@ -325,6 +325,7 @@ class MysqlService extends BaseService_1.BaseService {
325
325
  i.conn.removeAllListeners();
326
326
  await i.conn.rollback();
327
327
  i.conn.release();
328
+ console.log("Transaction rollbacked: ", i.id, i.queries);
328
329
  }
329
330
  catch (e) {
330
331
  (0, LogService_1.logError)("Can't release transaction connection", e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",