Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal ansible exceptions #2

Merged
merged 3 commits into from
Jan 19, 2024
Merged

Conversation

SegFaulti4
Copy link
Collaborator

Added basic exception passing between Ansible and Cotea thread through ans_sync object.

In case of exception in Ansible thread:

  1. exception is saved as attribute of ans_sync object
  2. execution continues in Cotea thread
  3. stored exception is raised inside Cotea thread

Added tests for new feature

@SegFaulti4 SegFaulti4 self-assigned this Jan 17, 2024
@SegFaulti4 SegFaulti4 linked an issue Jan 17, 2024 that may be closed by this pull request
@davidBMSTU davidBMSTU merged commit 9b66f40 into main Jan 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Catching internal Ansible exceptions
2 participants