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

Fix error handling #546

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

e.response evaluates to False when response is an error response.

(This 'only' improves some error messages.)

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

docker_api connection
docker_container_exec

@felixfontein felixfontein merged commit 1809119 into ansible-collections:main Jan 5, 2023
@felixfontein felixfontein deleted the error-handling branch January 5, 2023 08:42
@felixfontein
Copy link
Collaborator Author

@kristianheljas thanks for reviewing this!

@patchback
Copy link
Contributor

patchback bot commented Jan 5, 2023

Backport to stable-1: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-1/18091193de56003cd09b35c05f873acd3cd2fb1b/pr-546

Backported as #547

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@patchback
Copy link
Contributor

patchback bot commented Jan 5, 2023

Backport to stable-2: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-2/18091193de56003cd09b35c05f873acd3cd2fb1b/pr-546

Backported as #548

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jan 5, 2023
(cherry picked from commit 1809119)
patchback bot pushed a commit that referenced this pull request Jan 5, 2023
(cherry picked from commit 1809119)
felixfontein added a commit that referenced this pull request Jan 5, 2023
(cherry picked from commit 1809119)

Co-authored-by: Felix Fontein <[email protected]>
felixfontein added a commit that referenced this pull request Jan 5, 2023
(cherry picked from commit 1809119)

Co-authored-by: Felix Fontein <[email protected]>
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.

2 participants