Question about DB error behavior

Hi all !

I’m just starting exploring this awesome framework and I would like to know what the framework does when we are in production mode and an exception is raised about some DB query. Example: the row is locked and MySQL send an error message, what’s going on in my page ? Do I have to handle this manually ?

I didn’t find precise documentation about this :unsure: .

Thank you for your time! ;).

You should catch exception manually and try to handle it, or setup CErrorHandler for your application and handle all exceptions to follow standard logic.

Thank’s for your quick answer, CErrorHandler seems to be a good solution ;D.

I found that I can deal with that with site/error.

For people that didn’t find it :