[Monitor][Ingestion] Fix incorrect typing
This was missed in a recent commit that was merged to change the type
for the on_error callable.
The recently enable mypy and pyright checks caught the type mismatch.
@@ -32,7 +32,7 @@ class LogsIngestionClientOperationsMixin(GeneratedOps):
stream_name: str,
logs: Union[List[JSON], IO],
*,
- on_error: Optional[Callable[[Exception, List[JSON]], Awaitable[None]]] = None,
+ on_error: Optional[Callable[[UploadLogsError], Awaitable[None]]] = None,
**kwargs: Any
) -> None:
"""Ingestion API used to directly ingest data using Data Collection Rules.
