Skip to content

Commit

Permalink
Adding ErrorItemPropertyRequestFailed to ERRORS_TO_CATCH_IN_RESPONSE"
Browse files Browse the repository at this point in the history
  • Loading branch information
SubashPradhan committed Jan 11, 2024
1 parent 429da47 commit 9f4de41
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 9f4de41

Please sign in to comment.