« Previous | Next » 

Revision 7e0c425c

Child be54ffb5

Added by Bastian Waidelich almost 8 years ago

[BUGFIX] Expose more details in MappingExceptions

This adds a try/catch block to the FlowAnnotationDriver adding the
affected class name to the message of the thrown exception.

Before if ``evaluatePropertyAnnotations`` threw an exception during
the ``flow:doctrine:compileproxies`` command the exception did not
contain details about the affected class (see #52907).

Change-Id: I6933c1bf7c206a9d2600024686e3bdfcff5adf06
Fixes: #52907
Releases: master, 2.0

  • added
  • modified
  • copied
  • renamed
  • deleted