Sentry Logging

kingfisher_scrapy.extensions.sentry_logging.before_send(event, hint)[source]

Filter out ERROR-level log messages about TCP, DNS and HTTP errors.

class kingfisher_scrapy.extensions.sentry_logging.SentryLogging(sentry_dsn)[source]

Sends exceptions and log records to Sentry. Log records with a level of ERROR or higher are captured as events.

classmethod from_crawler(crawler)[source]