Skip to content

Commit 4fe6615

Browse files
radostyleGallaecio
andauthored
Update docs/source/api.rst
Co-authored-by: Adrián Chaves <[email protected]>
1 parent 13394dd commit 4fe6615

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/source/api.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,13 @@ Default: ``utf-8``.
520520
DEFAULT_ERRBACK_NAME
521521
~~~~~~~~~~~~~~~~~~~~
522522

523-
The name of the default errback method to call on the spider in case of an exception. The default errback method is ``parse`` to maintain backwards compatibility but it is not standard to scrapy and may interfere with the use of middlewares which implement the ``process_spider_exception`` method. Use a setting of ``None`` if you don't want to use the default scrapy exception handling.
523+
Default: ``"parse"``
524524

525-
Default: ``parse``. Use the ``parse`` method on scrapy spider to handle exceptions. Be aware that this is non-standard to typical scrapy spiders.
525+
The name of the default errback_.
526+
527+
Use an empty string or ``None`` to unset the errback altogether.
528+
529+
.. _errback: https://docs.scrapy.org/en/latest/topics/request-response.htm#using-errbacks-to-catch-exceptions-in-request-processing
526530

527531

528532
Spider settings

0 commit comments

Comments
 (0)