@intuned/runtime-dev 1.0.2-abort.0 → 1.0.2-abort.2

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.
@@ -68,6 +68,7 @@ async function* runApiGenerator({
68
68
  const abortPromise = new Promise(resolve => {
69
69
  if (!abortSignal) return;
70
70
  abortSignal.addEventListener("abort", () => {
71
+ console.log("Aborted");
71
72
  resolve(abortSymbol);
72
73
  });
73
74
  });
@@ -81,9 +82,11 @@ async function* runApiGenerator({
81
82
  }
82
83
  try {
83
84
  var _context;
85
+ console.log("Saving trace");
84
86
  await ((_context = context) === null || _context === void 0 ? void 0 : _context.tracing.stop({
85
87
  path: tracing.filePath
86
88
  }));
89
+ console.log("Trace saved");
87
90
  } catch (error) {
88
91
  console.log(errorMessage, error === null || error === void 0 ? void 0 : error.message);
89
92
  await (0, _fsExtra.remove)(tracing.filePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "1.0.2-abort.0",
3
+ "version": "1.0.2-abort.2",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",