Skip to content

Commit

Permalink
Remove error logging for each attachment
Browse files Browse the repository at this point in the history
These are not errors, and they pollute the output when debugging for
actual problems.
  • Loading branch information
adrianclay committed May 3, 2024
1 parent d7eaf81 commit 527f27c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mhs/common/mhs_common/messages/ebxml_envelope.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,6 @@ def parse_attachments(xml_tree: Element, attachment_payloads) -> Dict[str, str]:
# grab the existing payload item by cid
foundPayload = next((item for item in attachment_payloads if item[ATTACHMENT_CONTENT_ID] == cid), None)

for item in attachment_payloads:
logger.error("Attachment IDs:" + item[ATTACHMENT_CONTENT_ID])

# We may have already decompressed a compressed payload or converted from base64, if so,
# update the payload description fields with the correct details and form our attachment
# All this to add the description field :)
Expand Down

0 comments on commit 527f27c

Please sign in to comment.