diff --git a/src/msgraph_core/tasks/large_file_upload.py b/src/msgraph_core/tasks/large_file_upload.py index 9bd79ee3..89e8ba46 100644 --- a/src/msgraph_core/tasks/large_file_upload.py +++ b/src/msgraph_core/tasks/large_file_upload.py @@ -20,7 +20,7 @@ class LargeFileUploadTask: def __init__( - self, # pylint: disable=too-many-instance-attributes + self, # pylint: disable=too-many-instance-attributes upload_session: Parsable, request_adapter: RequestAdapter, stream: BytesIO, @@ -128,7 +128,7 @@ async def upload(self, after_chunk_upload: Optional[Callable] = None): self.next_range = next_range[0] + "-" process_next = await self.next_chunk(self.stream) - except Exception as error: #pylint: disable=broad-except + except Exception as error: #pylint: disable=broad-except logging.error("Error uploading chunk %s", error) finally: self.chunks -= 1