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

AttributeError: 'LogRecord' object has no attribute 'message' #10

Closed
josephkearney91 opened this issue Oct 31, 2023 · 4 comments
Closed

Comments

@josephkearney91
Copy link
Contributor

User reported issue: As an FYI we've noticed that on all of our crawlers using scrapeops-scrapy==0.5.3, this error message shows very noisily in the crawl logs.

2023-10-30 16:31:13 [root] INFO: 'LogRecord' object has no attribute 'message'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scrapeops_scrapy/core/error_logger.py", line 138, in emit
errorMessage = record.message
AttributeError: 'LogRecord' object has no attribute 'message'

@techbro111
Copy link

Hey thanks for reporting this! I have the same issue.

@lansespirit
Copy link

Agree with the same issue.

@josephkearney91
Copy link
Contributor Author

Should no longer be an issue if you upgrade to the latest version

@ronaldokun
Copy link

Thank you for solving the issue!

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

4 participants