diff --git a/package.json b/package.json index cf4a8ea..1e064d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lambdatest/smartui-cli", - "version": "4.1.42-beta.0", + "version": "4.1.42", "description": "A command line interface (CLI) to run SmartUI tests on LambdaTest", "files": [ "dist/**/*" diff --git a/src/lib/server.ts b/src/lib/server.ts index 46a1225..854f1fb 100644 --- a/src/lib/server.ts +++ b/src/lib/server.ts @@ -294,7 +294,10 @@ export default async (ctx: Context): Promise timeoutDuration) { replyCode = 202; replyBody = { - data: { - message: 'Request timed out-> Snapshot still processing' - } + error: 'Request timed out, Snapshot still processing', + data: lastExternalResponse.data }; return reply.code(replyCode).send(replyBody); }