Problem/Motivation

Since we support only Guzzle 7 in Drupal 10 we can catch \Psr\Http\Client\ClientExceptionInterface errors instead of \GuzzleHttp\Exception\GuzzleException and take a small step towards making the client used by Drupal swappable.

Follow-up from #3189301: Use \Psr\Http\Client\ClientExceptionInterface instead of \GuzzleHttp\Exception\TransferException

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3418243

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

Spokje created an issue. See original summary.

spokje’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Searched repo for GuzzleHttp\Exception\GuzzleException and found 2 instances which were covered by MR.

  • catch committed 47475efa on 11.x
    Issue #3418243 by Spokje, smustgrave: Use \Psr\Http\Client\...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.