preserve Integrity constraint violation error logging