diff --git a/src/internal/connector/exchange/attachment.go b/src/internal/connector/exchange/attachment.go index 8f75c52b9..6ed05b5df 100644 --- a/src/internal/connector/exchange/attachment.go +++ b/src/internal/connector/exchange/attachment.go @@ -56,9 +56,10 @@ func uploadAttachment( // item Attachments to be skipped until the completion of Issue #2353 if attachmentType == models.ITEM_ATTACHMENTTYPE { name := "" - if attachment.GetName() != nil{ - name := *attachment.GetName() + if attachment.GetName() != nil { + name = *attachment.GetName() } + logger.Ctx(ctx).Infow("item attachment uploads are not supported ", "attachment_name", name, // TODO: Update to support PII protection "attachment_type", attachmentType,