@agoric/telemetry 0.6.3-dev-3c781f6.0 → 0.6.3-dev-046eb05.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/telemetry",
3
- "version": "0.6.3-dev-3c781f6.0+3c781f6",
3
+ "version": "0.6.3-dev-046eb05.0+046eb05",
4
4
  "description": "Agoric's telemetry implementation",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/Agoric/agoric-sdk",
@@ -22,9 +22,9 @@
22
22
  "author": "Agoric",
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@agoric/assert": "0.6.1-dev-3c781f6.0+3c781f6",
26
- "@agoric/internal": "0.3.3-dev-3c781f6.0+3c781f6",
27
- "@agoric/store": "0.9.3-dev-3c781f6.0+3c781f6",
25
+ "@agoric/assert": "0.6.1-dev-046eb05.0+046eb05",
26
+ "@agoric/internal": "0.3.3-dev-046eb05.0+046eb05",
27
+ "@agoric/store": "0.9.3-dev-046eb05.0+046eb05",
28
28
  "@endo/init": "^0.5.56",
29
29
  "@endo/marshal": "^0.8.5",
30
30
  "@endo/stream": "^0.3.25",
@@ -60,5 +60,5 @@
60
60
  "timeout": "20m",
61
61
  "workerThreads": false
62
62
  },
63
- "gitHead": "3c781f643c6c321d676272060bdff04fc9dd0fd8"
63
+ "gitHead": "046eb05f824bddad6e1980c2bfab7b3f57f1e60f"
64
64
  }
@@ -54,7 +54,13 @@ const main = async () => {
54
54
  }
55
55
  };
56
56
 
57
- main().catch(err => {
58
- console.error(err);
59
- process.exitCode = 1;
60
- });
57
+ process.exitCode = 1;
58
+ main().then(
59
+ () => {
60
+ process.exitCode = 0;
61
+ },
62
+ err => {
63
+ console.error('Failed with', err);
64
+ process.exit(process.exitCode || 1);
65
+ },
66
+ );
@@ -143,4 +143,13 @@ async function run() {
143
143
  );
144
144
  }
145
145
 
146
- run().catch(err => console.log('err', err));
146
+ process.exitCode = 1;
147
+ run().then(
148
+ () => {
149
+ process.exitCode = 0;
150
+ },
151
+ err => {
152
+ console.error('Failed with', err);
153
+ process.exit(process.exitCode || 1);
154
+ },
155
+ );
@@ -130,7 +130,13 @@ const main = async () => {
130
130
  );
131
131
  };
132
132
 
133
- main().catch(e => {
134
- logger.error(e);
135
- process.exitCode = 1;
136
- });
133
+ process.exitCode = 1;
134
+ main().then(
135
+ () => {
136
+ process.exitCode = 0;
137
+ },
138
+ err => {
139
+ logger.error('Failed with', err);
140
+ process.exit(process.exitCode || 1);
141
+ },
142
+ );