Change record status: 
Project: 
Introduced in branch: 
10.3.x
Introduced in version: 
10.3.0
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->exceptionClass the class of the client connection exception
  • $event->exceptionCode the code of the exception
  • $event->exceptionMessage the message of the exception
Impacts: 
Module developers