code: def _log_error(self, request, error):
          '''Log exceptions during a fetch.'''
          _logger.error(
              _('Fetching ‘{url}’ encountered an error: {error}'),
              url=request.url, error=error
          f _log_error(self, request, error):
          '''Log exceptions during a fetch.'''
          _logger.error(
              _('Fetching ‘{url}’ encountered an error: {error}'),
              url=request.url, error=error
          )
docs: Log exceptions during a fetch.