Skip to content

Commit

Permalink
chore: added logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepdsvs committed Aug 22, 2024
1 parent 75dab29 commit 018bf23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/v0/destinations/fb_custom_audience/recordTransform.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const {
responseBuilderSimple,
getDataSource,
} = require('./util');
const logger = require('../../../logger');

const processRecordEventArray = (
recordChunksArray,
Expand Down Expand Up @@ -116,6 +117,8 @@ async function processRecordInputs(groupedRecordInputs) {
}

// audience id validation
logger.debug('Connection_object', JSON.stringify(connection));
logger.debug('Event_object', JSON.stringify(message));
let operationAudienceId = audienceId;
const mappedToDestination = get(message, MappedToDestinationKey);
if (mappedToDestination) {
Expand Down

0 comments on commit 018bf23

Please sign in to comment.