Skip to content

Commit

Permalink
Merge pull request #103 from nylas/incident-20231214-ews-id-is-in-ews…
Browse files Browse the repository at this point in the history
…legacyid-format-error-causing-sync-delays-3

[*] Fix TypeError: _log() got an unexpected keyword argument 'e'
  • Loading branch information
pengfeiye authored Dec 15, 2023
2 parents 9d7a8a1 + c826e2a commit 8538799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchangelib/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def _get_elements_in_response(self, response):
yield c
except ErrorInvalidIdMalformedEwsLegacyIdFormat as e:
msg_text = get_xml_attr(msg, '{%s}MessageText' % MNS)
log.error('Caught ErrorInvalidIdMalformedEwsLegacyIdFormat error', e=e, exc_info=True, response_msg=msg_text)
log.error('Caught ErrorInvalidIdMalformedEwsLegacyIdFormat error', error=str(e), exc_info=True, response_msg=msg_text)
continue

@staticmethod
Expand Down

0 comments on commit 8538799

Please sign in to comment.