Skip to content

Commit

Permalink
fix(SentinelOne): fix the name of the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
squioc committed Dec 11, 2024
1 parent 97e5d74 commit 5265819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SentinelOne/sentinelone_module/singularity/connectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def async_run(self) -> None: # pragma: no cover
self.log(message=error.message, level="critical")
await asyncio.sleep(self.configuration.frequency)

except Timeout as error:
except TimeoutError as error:
self.log(message="A timeout was raised by the client", level="warning")
await asyncio.sleep(self.configuration.frequency)

Expand Down

0 comments on commit 5265819

Please sign in to comment.