ScrapeOps / scrapeops-scrapy-sdk

Scrapy extension that gives you all the scraping monitoring, alerting, scheduling, and data validation you will need straight out of the box.
https://scrapeops.io/
BSD 3-Clause "New" or "Revised" License
37 stars 9 forks source link

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

Closed josephkearney91 closed 12 months ago

josephkearney91 commented 1 year ago

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 commented 1 year ago

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

lansespirit commented 1 year ago

Agree with the same issue.

josephkearney91 commented 12 months ago

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

ronaldokun commented 11 months ago

Thank you for solving the issue!