Skip to content

Commit

Permalink
No need for error details
Browse files Browse the repository at this point in the history
  • Loading branch information
sanzenwin authored Dec 17, 2023
1 parent 578d1e6 commit a6b9f6e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scrapy_playwright/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,8 @@ async def _download_request(self, request: Request, spider: Spider) -> Response:
"spider": spider,
"context_name": context_name,
"scrapy_request_url": request.url,
"scrapy_request_method": request.method,
"exception": ex,
},
exc_info=True,
"scrapy_request_method": request.method
}
)
await page.close()
self.stats.inc_value("playwright/page_count/closed")
Expand Down

0 comments on commit a6b9f6e

Please sign in to comment.