scrapinghub / spidermon

Scrapy Extension for monitoring spiders execution.
https://spidermon.readthedocs.io
BSD 3-Clause "New" or "Revised" License
528 stars 96 forks source link

Skipped monitor for downloader exception #336

Closed rennerocha closed 2 years ago

rennerocha commented 2 years ago

Fixed documentation and add test for the scenario when the stat is not available because no exception was raised. Also fixed a missing white space that made the error message has two strings concatenated.

codecov[bot] commented 2 years ago

Codecov Report

Merging #336 (97167fd) into master (3c606ad) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #336   +/-   ##
=======================================
  Coverage   74.04%   74.04%           
=======================================
  Files          68       68           
  Lines        3028     3028           
  Branches      465      465           
=======================================
  Hits         2242     2242           
  Misses        723      723           
  Partials       63       63           
Impacted Files Coverage Δ
spidermon/contrib/scrapy/monitors.py 98.17% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3c606ad...97167fd. Read the comment docs.