Re: throw on live systems
Jean-Christophe Michel <jc.michel-/aRvmaKoZxNWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.lib.binarycloud.devel |
|---|---|
| Message-ID | <[email protected]> |
Daniel Bondurant wrote: > Is there a graceful way to use throw() on production systems? > ie: show a nice formated "sorry an error occurred" page instead of all > the debug info. Then let logger do it's thing in the background to > notify admins. > > since throw() is a global function there is no way to extend it or > overwrite it. I'd say, catch() on top (in Project for instance) and use Event to redirect gracefully :-) -- Jean-Christophe Michel