prooph / proophessor-do

prooph components in action
http://getprooph.org
BSD 3-Clause "New" or "Revised" License
255 stars 66 forks source link

Set up error handler #11

Closed codeliner closed 8 years ago

codeliner commented 9 years ago

Instead of returning exception message and exception trace in case of command dispatch exception (see https://github.com/prooph/proophessor-do/blob/develop/src/App/Commanding/API.php#L135) we should set up an error handler like described in the zend-expressive docs and make sure that exception details are only sent to the client if we are in development mode.

codeliner commented 8 years ago

included in #53