Skip to content

Commit

Permalink
Merge pull request #1266 from TEAMSchools/fix-sftp-sensor-errors
Browse files Browse the repository at this point in the history
fix: ssh error handling
  • Loading branch information
cbini authored Jul 2, 2024
2 parents 3287415 + 1111537 commit 3bf861d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/teamster/libraries/titan/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ def _sensor(context: SensorEvaluationContext, ssh_titan: SSHResource):
try:
files = ssh_titan.listdir_attr_r()
except SSHException as e:
context.log.error(e)
raise SSHException from e
except Exception as e:
context.log.error(e)
return SensorResult(skip_reason=str(e))

Expand Down

0 comments on commit 3bf861d

Please sign in to comment.