Capture error after failed save()

For some reason, while updating a model and when I call [tt]save()[/tt], it fails. How can I capture the error generated? I looked at application.log, but no update SQL command is issued…

What do you mean "it fails"? Does it fail because of validation error or SQL execution error?

By "fails", I mean it does not save the updated model.

I discovered today that it fails because of validation. I fixed the problem and all is ok.

So, to sum up, if a call to save() fails and I get no SQL error messages, the candidate to look after is the validation rules, right?