From dbd6011a4c9d4c21efb0bbedf067cacd3fcdb431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ad=C3=A1mek?= Date: Tue, 21 May 2024 16:05:37 +0200 Subject: [PATCH] keep only the URLs --- packages/core/src/crawlers/error_tracker.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/core/src/crawlers/error_tracker.ts b/packages/core/src/crawlers/error_tracker.ts index c3b294a657a1..5d22e8f6e732 100644 --- a/packages/core/src/crawlers/error_tracker.ts +++ b/packages/core/src/crawlers/error_tracker.ts @@ -407,11 +407,9 @@ export class ErrorTracker { return; } - const { screenshotFileName, htmlFileName, screenshotFileUrl, htmlFileUrl } = await this.errorSnapshotter.captureSnapshot(error, context); + const { screenshotFileUrl, htmlFileUrl } = await this.errorSnapshotter.captureSnapshot(error, context); - storage.firstErrorScreenshot = screenshotFileName; storage.firstErrorScreenshotUrl = screenshotFileUrl; - storage.firstErrorHtml = htmlFileName; storage.firstErrorHtmlUrl = htmlFileUrl; }