The code uses Drupal::httpClient() which extends GuzzleHttp I believe. The current exceptions don't catch if the HTTP code is 404. So I needed to add GuzzleHttp\Exception\ClientException for it to work.

CommentFileSizeAuthor
represent-add-client-exception.patch791 bytesnubeli

Comments

nubeli created an issue.