By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
A database event is now available to trace failures of execution of statements against the DB, StatementExecutionFailureEvent additionally to StatementExecutionEvent added in 10.1.
Event subscribers can subscribe to such event, that is similar to StatementExecutionEndEvent, and includes the details of the exception thrown by the client connection statement:
$event->exceptionClassthe class of the client connection exception$event->exceptionCodethe code of the exception$event->exceptionMessagethe message of the exception
Impacts:
Module developers