Change
Refactor PHP error handling
Issue description
The PHP error and exception handling does not have a clear structure. Improve that!
Developer comments
I implemented error handling via set_exception_handler. All serious errors are transformed into ErrorExceptions now. Uncaught exceptions trickle up to the surface (web client).
|
Work sessions
Start |
2009-07-30T09:59:34
|
End |
2009-07-30T16:11:14
|
Participant |
Robert Cerny
|
Summary |
There was some headscrachting involved here. Setting up an exception handler in PHP is not as easy as it should be. Errors in the actual exception handling code are quite difficult to track with the exception handler in place. On the other hand if it is deactivated the error disappears as well. Kind of a catch 22.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.