check out the manual for debugging and logging

http://book.cakephp.org/view/155/Debugging
http://book.cakephp.org/view/157/Logging

also . . .firebug with firephp is a great tool!

On Sep 12, 6:06 pm, "Luiz Poleto" <[EMAIL PROTECTED]> wrote:
> Hello guys,
> I was wondering whether it's possible to catch error message and error code
> (if any), when trying to perform any action in cake.
> Let me explain better:
> Suppose i called a $this->save() method and it didn't save for any reason.
> Instead of display an error to the user, i would like to log the error
> message and display a user friendly message to the user. The second part,
> about the message, i already do, but i often have no clue what the error is.
> Any ideas?
>
> Best regards,
> Luiz Poleto
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to