@seidor-cloud-produtos/orbit-backend-lib 1.101.22 → 1.101.23

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.
@@ -35,17 +35,15 @@ class Cache {
35
35
  for (let i = 0; i < this.elegibleClients.length; i++) {
36
36
  const currentClient = this.elegibleClients[i];
37
37
  try {
38
- console.log('currentClient.start()');
39
38
  await currentClient.start();
40
- console.log('currentClient.isRunning()');
41
39
  isRunning = await currentClient.isRunning();
42
40
  }
43
- catch (e) {
44
- console.log('catch currentClient.isRunning()');
45
- }
41
+ catch { }
46
42
  if (isRunning) {
47
- console.log('this.client.close()');
48
- await this.client.close();
43
+ try {
44
+ await this.client.close();
45
+ }
46
+ catch { }
49
47
  this.client = currentClient;
50
48
  break;
51
49
  }
@@ -139,14 +137,11 @@ class Cache {
139
137
  isRunning = await this.client.isRunning();
140
138
  }
141
139
  catch (e) {
142
- console.log('catch do isRunning', isContingency);
143
140
  if (options?.throwOnError || this.options?.throwOnError) {
144
- console.log('handleException', isContingency);
145
141
  await this.handleException(e);
146
142
  }
147
143
  }
148
144
  if (!isRunning && !isContingency) {
149
- console.log('setRunningClient', isContingency);
150
145
  await this.setRunningClient();
151
146
  return await this.isRunning(options, true);
152
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seidor-cloud-produtos/orbit-backend-lib",
3
- "version": "1.101.22",
3
+ "version": "1.101.23",
4
4
  "description": "Internal lib for backend components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",