Improve error handling in \Drupal\globallink\Plugin\tmgmt\Translator\GlobalLinkTranslator::retrieveTranslation()

Created on 2 February 2021, over 3 years ago
Updated 12 May 2023, about 1 year ago

Problem/Motivation

The method should not be using die() but something that can be caught and logged. For debugging reasons, it should include the raw data somehow although that might be very long, this will need to be tested first and maybe cut off at some point.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland Berdir Switzerland

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.69.0 2024