Skip to content

Commit 310298c

Browse files
sushobhit-ltclaude
andcommitted
add debug info to snapshot timeout error and bump version to 4.1.55-beta.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cb56e02 commit 310298c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-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.54",
3+
"version": "4.1.55-beta.0",
44
"description": "A command line interface (CLI) to run SmartUI tests on LambdaTest",
55
"files": [
66
"dist/**/*"

src/lib/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export default async (ctx: Context): Promise<FastifyInstance<Server, IncomingMes
316316
if (Date.now() - startTime > timeoutDuration) {
317317
replyCode = 202;
318318
replyBody = lastExternalResponse.data;
319-
replyBody.error = 'Request timed out, Snapshot still processing';
319+
replyBody.error = `Request timed out, Snapshot still processing (timeoutDuration: ${timeoutDuration / 1000}s, buildId: ${buildId}, snapshotName: ${snapshotName}, contextId: ${contextId})`;
320320
return reply.code(replyCode).send(replyBody);
321321
}
322322

0 commit comments

Comments
 (0)