Catch other exceptions when doing the request

Created on 3 June 2020, almost 5 years ago
Updated 14 November 2023, over 1 year ago

Problem/Motivation

\Drupal\tmgmt_acclaro\Plugin\tmgmt\Translator\AcclaroTranslator::doRequest only catches BadResponseExceptions. This can result in unhandled exceptions if Guzzle throws any other one.

Proposed resolution

Add a fallback catch for \Exception.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇸🇮Slovenia primsi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024