diff --git a/plugins/@grouparoo/app-templates/src/destination/shared/batch.ts b/plugins/@grouparoo/app-templates/src/destination/shared/batch.ts index 8f337c4a4d..dca8f5e47f 100644 --- a/plugins/@grouparoo/app-templates/src/destination/shared/batch.ts +++ b/plugins/@grouparoo/app-templates/src/destination/shared/batch.ts @@ -1,4 +1,5 @@ import { ErrorWithProfileId } from "@grouparoo/core"; +import { log } from "actionhero"; export interface MethodNormalizeGroupName { // mess with the names of groups (tags with no spaces, for example) @@ -80,6 +81,7 @@ export function checkErrors( } error.profileId = exportedProfile.profileId; errors.push(error); + log(error?.stack || error, "error"); } else if (skippedMessage) { errors = errors || []; const skip = new Error(skippedMessage); diff --git a/plugins/@grouparoo/salesforce/src/lib/export/salesforceExporter.ts b/plugins/@grouparoo/salesforce/src/lib/export/salesforceExporter.ts index 18adc47001..a6ae75349f 100644 --- a/plugins/@grouparoo/salesforce/src/lib/export/salesforceExporter.ts +++ b/plugins/@grouparoo/salesforce/src/lib/export/salesforceExporter.ts @@ -379,6 +379,7 @@ function processResult(result, identifier, type: ResultType) { id = "doesntmatter"; } if (!success || errors.length > 0) { + // console.log("SDFC error:", JSON.stringify(errors)); if ( errors.length === 1 && errors[0].statusCode === "CANNOT_UPDATE_CONVERTED_LEAD"