Skip to content

Commit 3535c8a

Browse files
Merge pull request #332 from LambdaTest/stage
v4.1.24
2 parents b1c9bb4 + a022f18 commit 3535c8a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lambdatest/smartui-cli",
3-
"version": "4.1.23",
3+
"version": "4.1.24",
44
"description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
55
"files": [
66
"dist/**/*"

src/commander/ping.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ command
3434
console.error(chalk.red('Error: SmartUI server did not respond in 15 seconds'));
3535
} else {
3636
console.error(chalk.red('SmartUI server is not running'));
37-
console.error(chalk.red(`Error: ${error.message}`));
37+
console.error(chalk.red(`Error: ${error?.code}`));
38+
console.error(error);
3839
}
3940
}
4041
});

src/commander/pingTest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ function makeHttpRequest(url: string, timeout: number): Promise<{ status: number
3737
});
3838

3939
req.on('error', (error) => {
40+
console.error(error)
4041
reject(error);
4142
});
4243

@@ -78,6 +79,8 @@ command
7879
console.error(chalk.red('Error: SmartUI server did not respond in 15 seconds'));
7980
} else {
8081
console.error(chalk.red('SmartUI server is not running'));
82+
console.error(chalk.red(`Error: ${error?.code}`));
83+
console.error(error);
8184
}
8285
}
8386
});

0 commit comments

Comments
 (0)