Handle exceptions during import

Created on 29 May 2019, over 5 years ago
Updated 7 September 2024, 2 months ago

When the call of the $entity.save() fails an exception is thrown. This exception is not handled and reaches the client (browser). The execution stops.

Instead of that we could handle the exception, log it in Drupal's logs and continue with the import of the rest entities.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇷Greece skounis

Live updates comments and jobs are added and updated live.
  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

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