Problem/Motivation

When using the linkchecker service to check a link with a connectivity problem the request will error out:

TypeError: Drupal\linkchecker\LinkCheckerService::Drupal\linkchecker\{closure}(): Argument #1 ($e) must be of type GuzzleHttp\Exception\RequestException, GuzzleHttp\Exception\ConnectException given

This is a known issue due to changes in Guzzle7, well explained in #3188920: Make Guzzle exception handling forward-compatible with Guzzle 7.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joel_osc created an issue. See original summary.

joel_osc’s picture

Here is a patch that fixes the issue.

joel_osc’s picture

Status: Active » Needs review