|
Posted by jussist@gmail.com on 09/02/06 07:55
The error-checking policies also evolve during time. At first projects
at my current job, there was not much error checking. Now there's still
lot to improve, but things are better. There's sort of error-checking
framework in use, and it evolves.
if( !$dbresult ) {
HandleError("DatabaseError", "strErrorCode", "ELEVEL_CRITICAL", $sql,
mysql_error(), "Script location");
}
Well that's just from top of my head. But that's basically what happens
when there's an error. If error level is critical (or whatever), send
email to this address. Write all error to log.
So shortly my 5c is to always error check, and from project to project,
develop the error checking procedure according to needs and problems to
have a generic error checking process, which works for you and your
company policies.
t.j
[Back to original message]
|