Skip to content

In PlaywrightCrawler.failedRequestHandler() the error argument contains no information about error #1755

Answered by B4nan
stargazer33 asked this question in Q&A
Discussion options

You must be logged in to vote

The same error info is there, it just gets lost when you convert the error object to JSON. That's how errors works in JS, not really a problem on our end:

The problem here is that the error properties like message or stack are not enumerable, so they won't make it into the JSON string.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@stargazer33
Comment options

Answer selected by stargazer33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working.
2 participants
Converted from issue

This discussion was converted from issue #1754 on January 25, 2023 12:37.