These are chat archives for eventum/eventum

22nd
Jun 2016
Bryan Alsdorf
@balsdorf
Jun 22 2016 03:01
@glensc Your comment about not catching DB Exceptions unless needed got me thinking. Should the controller code handle uncaught exceptions and display a pretty error message?
In some cases I want to explicitly catch the exception and display a message like "Your update could not be performed" because maybe it was caused by bad data. However, in most other cases a generic error message would be appropriate, though it would rarely actually be displayed.
Bryan Alsdorf
@balsdorf
Jun 22 2016 20:49
So calling $session->start() causes problems for me with CAS Authentication enabled as the session is already started. Commenting out that line doesn't seem to cause any problems on a stock install