We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8b0072a + 48f24e1 commit 04ff1f7Copy full SHA for 04ff1f7
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@lambdatest/smartui-cli",
3
- "version": "4.1.10",
+ "version": "4.1.11",
4
"description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
5
"files": [
6
"dist/**/*"
src/lib/uploadWebFigma.ts
@@ -22,6 +22,9 @@ export default async (ctx: Context): Promise<string> => {
22
23
const responseData = await ctx.client.processWebFigma(requestBody, ctx.log);
24
ctx.log.debug("responseData : "+ JSON.stringify(responseData));
25
+ if (responseData && responseData.error && responseData.error.message) {
26
+ throw new Error(responseData.error.message);
27
+ }
28
29
if (responseData.data.message == "success") {
30
results = responseData.data.message;
0 commit comments