Skip to content

Commit

Permalink
Merge pull request #1865 from ceph/ansible-fail-tolerate-exceptions
Browse files Browse the repository at this point in the history
Ansible._handle_failure: Catch all Exceptions
  • Loading branch information
dmick authored Jul 13, 2023
2 parents 073e6eb + 8cd332d commit aa6a80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teuthology/task/ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def _handle_failure(self, command, status):
try:
analyzer = FailureAnalyzer()
failures = analyzer.analyze(fail_log)
except yaml.YAMLError as e:
except Exception as e:
log.error(
"Failed to parse ansible failure log: {0} ({1})".format(
self.failure_log.name, e
Expand Down

0 comments on commit aa6a80e

Please sign in to comment.