Skip to content

Commit

Permalink
(Salesforce) add trace log on Layout File Properties #6622
Browse files Browse the repository at this point in the history
  • Loading branch information
tamtamirr authored Sep 25, 2024
1 parent 2cc9efd commit 1f1ae53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/salesforce-adapter/src/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
DEFAULT_NAMESPACE,
FOLDER_CONTENT_TYPE,
INTERNAL_ID_FIELD,
LAYOUT_TYPE_ID_METADATA_TYPE,
METADATA_CONTENT_FIELD,
PROFILE_METADATA_TYPE,
RETRIEVE_SIZE_LIMIT_ERROR,
Expand Down Expand Up @@ -348,6 +349,9 @@ export const retrieveMetadataInstances = async ({
? await listMetadataObjectsWithinFolders(client, metadataQuery, typeName, folderType)
: await listMetadataObjects(client, typeName)
configChanges.push(...listObjectsConfigChanges)
if (typeName === LAYOUT_TYPE_ID_METADATA_TYPE) {
log.trace('Layout file properties are %s', inspectValue(res))
}
return _(res)
.uniqBy(file => file.fullName)
.map(file => getPropsWithFullName(file, fetchProfile.addNamespacePrefixToFullName, client.orgNamespace))
Expand Down

0 comments on commit 1f1ae53

Please sign in to comment.