Skip to content

Commit

Permalink
Merge pull request #105 from nylas/CUST-1967-ews-accounts-running-int…
Browse files Browse the repository at this point in the history
…o-sync-delays-and-partial-state-due-to-error-item-property-request-failed-during-sync-process

Adding ErrorItemPropertyRequestFailed to ERRORS_TO_CATCH_IN_RESPONSE
  • Loading branch information
SubashPradhan authored Jan 12, 2024
2 parents 429da47 + 9f4de41 commit 09775c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exchangelib/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
ErrorCannotDeleteTaskOccurrence, ErrorMimeContentConversionFailed, ErrorRecurrenceHasNoOccurrence, \
ErrorNameResolutionMultipleResults, ErrorNameResolutionNoResults, ErrorNoPublicFolderReplicaAvailable, \
ErrorInvalidOperation, ErrorSubscriptionUnsubscribed, MalformedResponseError, \
ErrorInvalidIdMalformedEwsLegacyIdFormat
ErrorInvalidIdMalformedEwsLegacyIdFormat, ErrorItemPropertyRequestFailed
from .ewsdatetime import EWSDateTime, NaiveDateTimeNotAllowed
from .transport import wrap, extra_headers
from .util import chunkify, create_element, add_xml_child, get_xml_attr, to_xml, post_ratelimited, \
Expand All @@ -58,7 +58,7 @@ class EWSService(object):
ERRORS_TO_CATCH_IN_RESPONSE = (
EWSWarning, ErrorCannotDeleteObject, ErrorInvalidChangeKey, ErrorItemNotFound, ErrorItemSave,
ErrorInvalidIdMalformed, ErrorMessageSizeExceeded, ErrorCannotDeleteTaskOccurrence,
ErrorMimeContentConversionFailed, ErrorRecurrenceHasNoOccurrence,
ErrorMimeContentConversionFailed, ErrorRecurrenceHasNoOccurrence, ErrorItemPropertyRequestFailed
)
# Similarly, define the warnings we want to return unraised
WARNINGS_TO_CATCH_IN_RESPONSE = ErrorBatchProcessingStopped
Expand Down

0 comments on commit 09775c1

Please sign in to comment.