You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
We have experienced issues with the batchInsert function in the s3-pull contact loader failing due to data format issues. There is no logging to catch errors for this batchInsert function and therefore made it difficult to identify and troubleshoot.
Solution
Add error catching for the batchInsert function.
crayolakat
changed the title
Feature Request: await r.knex.batchInsert("campaign_contact", insertRows);
Feature Request: Add error catching for s3-pull batchInsert
Nov 8, 2022
Problem
We have experienced issues with the batchInsert function in the s3-pull contact loader failing due to data format issues. There is no logging to catch errors for this batchInsert function and therefore made it difficult to identify and troubleshoot.
Solution
Add error catching for the batchInsert function.
Context
Relevant line of code: https://github.com/MoveOnOrg/Spoke/blob/2e8c479ef7e4071bc903bdf882334488b50f2910/src/extensions/contact-loaders/s3-pull/index.js#L190
Relevant knex documentation on how to add error catching: https://knexjs.org/guide/utility.html
The text was updated successfully, but these errors were encountered: