Improve error message when indexing fails

Created on 10 January 2023, over 1 year ago
Updated 21 February 2023, over 1 year ago

Problem/Motivation

When indexing fails via drush sapi-i a non-descript error message is shown:

Drupal\search_api\SearchApiException while trying to index items on index Main: An error occurred indexing items in index staging_main.

The original exception contains more information; it is useful to display this.

Steps to reproduce

Proposed resolution

Include the original exception message.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

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