diff --git a/SentinelOne/CHANGELOG.md b/SentinelOne/CHANGELOG.md index ae94e4931..aebc8aa6b 100644 --- a/SentinelOne/CHANGELOG.md +++ b/SentinelOne/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## 2024-12-10 - 1.19.7 + +### Changed + +- Handle the timeout exception + ## 2024-12-10 - 1.19.6 ### Fixed diff --git a/SentinelOne/manifest.json b/SentinelOne/manifest.json index 8581643f0..6e9674188 100644 --- a/SentinelOne/manifest.json +++ b/SentinelOne/manifest.json @@ -26,7 +26,7 @@ "name": "SentinelOne", "uuid": "ff675e74-e5c1-47c8-a571-d207fc297464", "slug": "sentinelone", - "version": "1.19.6", + "version": "1.19.7", "categories": [ "Endpoint" ] diff --git a/SentinelOne/sentinelone_module/singularity/connectors.py b/SentinelOne/sentinelone_module/singularity/connectors.py index 73c822278..f5a090fea 100644 --- a/SentinelOne/sentinelone_module/singularity/connectors.py +++ b/SentinelOne/sentinelone_module/singularity/connectors.py @@ -125,6 +125,10 @@ async def async_run(self) -> None: # pragma: no cover self.log(message=error.message, level="critical") await asyncio.sleep(self.configuration.frequency) + except TimeoutError as error: + self.log(message="A timeout was raised by the client", level="warning") + await asyncio.sleep(self.configuration.frequency) + except Exception as error: self.log_exception(error) await asyncio.sleep(self.configuration.frequency)