MCPcopy
hub / github.com/scrapy/scrapy / send_catch_log

Method send_catch_log

scrapy/signalmanager.py:44–52  ·  view source on GitHub ↗

Send a signal, catch exceptions and log them. The keyword arguments are passed to the signal handlers (connected through the :meth:`connect` method).

(self, signal: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

42 dispatcher.disconnect(receiver, signal, **kwargs)
43
44 def send_catch_log(self, signal: Any, **kwargs: Any) -> list[tuple[Any, Any]]:
45 """
46 Send a signal, catch exceptions and log them.
47
48 The keyword arguments are passed to the signal handlers (connected
49 through the :meth:`connect` method).
50 """
51 kwargs.setdefault("sender", self.sender)
52 return _signal.send_catch_log(signal, **kwargs)
53
54 def send_catch_log_deferred(
55 self, signal: Any, **kwargs: Any

Callers 12

check_stop_downloadFunction · 0.80
handle_spider_errorMethod · 0.80
_schedule_requestMethod · 0.80
_downloadMethod · 0.80
_spider_idleMethod · 0.80
_enqueue_requestMethod · 0.80
_downloadMethod · 0.80
_get_telnet_varsMethod · 0.80
_check_warningMethod · 0.80

Calls 1

setdefaultMethod · 0.45