provider-ansible icon indicating copy to clipboard operation
provider-ansible copied to clipboard

respect ignore_errors when extracting error messages from event data

Open d-honeybadger opened this issue 10 months ago • 0 comments

Description of your changes

Fixes #328

I have:

  • [x] Read and followed Crossplane's contribution process.
  • [x] Run make reviewable to ensure this PR is ready for review.
  • [ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Create an ansiblerun with a task that is known to fail but set ignore_errors to true, i.e.

     tasks:
        - ignore_errors: true
          file:
            path: /nonexistent
            state: file

And have that run fail for some other reason (i.e. another task that fails and does not have ignore_errors set). The failed ansiblerun should have a message about the faile task without ignore_errors, but should not have any messages about the one with ignore_errors

d-honeybadger avatar Apr 10 '24 15:04 d-honeybadger