Hi,

Did you set the value of the |PDO::ATTR_ERRMODE| attribute to |PDO::ERRMODE_EXCEPTION|?

Btw, I don't think ||prepare would throw an exception even for a malformed query, but ||execute definitely should.

Regards,
Z

Reply via email to