@lambdatest/smartui-cli 4.1.23 → 4.1.24

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.
Files changed (2) hide show
  1. package/dist/index.cjs +6 -2
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1923,7 +1923,7 @@ var authExec_default = (ctx) => {
1923
1923
  };
1924
1924
 
1925
1925
  // package.json
1926
- var version = "4.1.23";
1926
+ var version = "4.1.24";
1927
1927
  var package_default = {
1928
1928
  name: "@lambdatest/smartui-cli",
1929
1929
  version,
@@ -5295,7 +5295,8 @@ command6.name("exec:ping").description("Ping the SmartUI server to check if it i
5295
5295
  console.error(chalk__default.default.red("Error: SmartUI server did not respond in 15 seconds"));
5296
5296
  } else {
5297
5297
  console.error(chalk__default.default.red("SmartUI server is not running"));
5298
- console.error(chalk__default.default.red(`Error: ${error.message}`));
5298
+ console.error(chalk__default.default.red(`Error: ${error == null ? void 0 : error.code}`));
5299
+ console.error(error);
5299
5300
  }
5300
5301
  }
5301
5302
  });
@@ -5553,6 +5554,7 @@ function makeHttpRequest(url, timeout) {
5553
5554
  });
5554
5555
  });
5555
5556
  req.on("error", (error) => {
5557
+ console.error(error);
5556
5558
  reject(error);
5557
5559
  });
5558
5560
  req.on("timeout", () => {
@@ -5583,6 +5585,8 @@ command9.name("exec:pingTest").description("Ping the SmartUI server to check if
5583
5585
  console.error(chalk__default.default.red("Error: SmartUI server did not respond in 15 seconds"));
5584
5586
  } else {
5585
5587
  console.error(chalk__default.default.red("SmartUI server is not running"));
5588
+ console.error(chalk__default.default.red(`Error: ${error == null ? void 0 : error.code}`));
5589
+ console.error(error);
5586
5590
  }
5587
5591
  }
5588
5592
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambdatest/smartui-cli",
3
- "version": "4.1.23",
3
+ "version": "4.1.24",
4
4
  "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
5
5
  "files": [
6
6
  "dist/**/*"