It wasn't clear to me if you want to display call stack and detailed error information or not. Usually you don't want detailed information for a user, just a simple error message to avoid confusion and to not help certain hack attempts (an attacker gain information on the internals of your app). In production you can get the detailed message from the logs. During debug and development you want detailed info. But it sounded like Paul wants the detailed info.
On Fri, Mar 14, 2014 at 6:24 AM, Brian J. Miller <[email protected]> wrote: > Is the "lot of extra stuff" the stack trace? If it is, then don't use > `confess` use `croak` or `die`. `confess` is giving you a stack trace. > > -- > -- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nlug-talk?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "NLUG" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
