Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CrawlingLogsMiddleware truncating logs #67

Open
gutsytechster opened this issue Sep 18, 2024 · 1 comment
Open

CrawlingLogsMiddleware truncating logs #67

gutsytechster opened this issue Sep 18, 2024 · 1 comment

Comments

@gutsytechster
Copy link

The middlewares when included in the SPIDER_MIDDLEWARES setting causes error from the callbacks to be truncated and shown like below
image

After I remove this middleware, the logs are shown with full traceback, showing which line cause the specific errors, which is the intentional behaviour.

@gutsytechster gutsytechster changed the title Fix CrawlingLogsMiddleware CrawlingLogsMiddleware truncating logs Sep 18, 2024
@Gallaecio
Copy link
Contributor

For the record, this is most likely because of the middleware casting the results iterable to a list instead of iterating it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants