Exception handling problem in 0.5.25


I raised an issue on this on github: https://github.com/encode/apistar/issues/565

Basically the app seems to hit the on_error hook and preempt the catching of an exception. I was wondering if anybody here had seen this or if I am missing something. It seems like there may be something I am doing wrong in catching this exception. Any input would be really appreciated as this has me thoroughly stumped.


Looks like the exception was being thrown in the event_hook on commit. Adding a try/except there did the trick.