Catch DB error |
Hi,
I have a CI application that inserts data received from CSV files. The CSV file contains table columns names that are used to create insert statements. If there's an error in the table colums, the insert fails and generates an error. However, I am not able to catch that error, and I get a system message. I would like to be able to catch that error to be able to process it (to be able to send an email to indicate the insert failure). Any idea how to do this ? Cheers, L@u |
Messages In This Thread |
Catch DB error - by ComputingFroggy - 01-21-2016, 06:15 PM
RE: Catch DB error - by Diederik - 01-22-2016, 01:33 AM
RE: Catch DB error - by josepostiga - 01-22-2016, 02:40 AM
RE: Catch DB error - by ComputingFroggy - 01-22-2016, 05:40 AM
RE: Catch DB error - by josepostiga - 01-22-2016, 05:49 AM
RE: Catch DB error - by ComputingFroggy - 01-22-2016, 06:41 AM
RE: Catch DB error - by ComputingFroggy - 01-22-2016, 08:18 AM
RE: Catch DB error - by Shawn - 01-27-2016, 06:41 PM
|