From 9f4de41bd5bb4402bf3425656abbad840bfb84f1 Mon Sep 17 00:00:00 2001 From: Subash Pradhan Date: Thu, 11 Jan 2024 17:31:10 +0100 Subject: [PATCH] Adding ErrorItemPropertyRequestFailed to ERRORS_TO_CATCH_IN_RESPONSE" --- exchangelib/services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exchangelib/services.py b/exchangelib/services.py index 838f9e3..fd49479 100644 --- a/exchangelib/services.py +++ b/exchangelib/services.py @@ -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, \ @@ -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