By drunken monkey on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x-1.x
Introduced in version:
8.x-1.29
Issue links:
Description:
The first parameter of \Drupal\search_api\LoggerTrait::logException() was previously type-hinted to \Exception, which was now changed to \Throwable.
No changes to existing code should be necessary, but you can now also use the method when you want to log a throwable that is not a subclass of \Exception.
Please be aware of the potential pitfall described in #2917041: logException() trait method (probably) not working with translation, which has not been resolved yet.
Impacts:
Module developers