Skip to content

Commit

Permalink
keep only the URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed May 21, 2024
1 parent 82d3691 commit dbd6011
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/core/src/crawlers/error_tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dbd6011

Please sign in to comment.