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
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
Comment #3
spokjeComment #4
smustgrave commentedSearched repo for GuzzleHttp\Exception\GuzzleException and found 2 instances which were covered by MR.
Comment #6
catchCommitted/pushed to 11.x, thanks!