On Jun 23, 12:50 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jun 19, 1:22 am, Rahul J <[EMAIL PROTECTED]> wrote:
>
> > :(
> > I'll simplify: I want to have the ability to CATCH sql errors (in my
> > error handler) irrespective of DEBUG levels.
> > Currently the only way this happens is in showQuery (trigger_error in
> > dbo_source.php) and that too when DEBUG > 1. This is my opinion should
> > be triggered along with rest of PHP errors ie. >= 1
>
> > Can I overload/override any lib functions or classes in order to
> > achieve this. Please help!
>
> > Rahul J
>
> Put
> define('DISABLE_DEFAULT_ERROR_HANDLING', 'x');
>
> in your webroot index and as the name suggests you area on your own.
>
> AD
PS
Model::onError
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---