summaryrefslogtreecommitdiffstats
path: root/changelogs
diff options
context:
space:
mode:
authorSimon Westphahl <westphahl@gmail.com>2019-03-28 04:44:49 +0100
committerJordan Borean <jborean93@gmail.com>2019-03-28 04:44:49 +0100
commita44dfed57012340572d3b002c1e2c4f89d84bd2e (patch)
tree902e90827ca587807943626fead68f82ffc2574b /changelogs
parentwin_user_right - fix non json output issue (#54495) (diff)
downloadansible-a44dfed57012340572d3b002c1e2c4f89d84bd2e.tar.xz
ansible-a44dfed57012340572d3b002c1e2c4f89d84bd2e.zip
Catch all request timeouts for winrm connection (#54104)
* Catch all request timeouts for winrm connection The current implementation only catches 'ConnectTimeout' exceptions. Instead we should catch 'Timout' which also catches ReadTimeout exceptions. Improves on: #51744 Co-Authored-By: westphahl <westphahl@gmail.com> * Changelog for winrm error handling improvement
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/winrm-all-timeout-exceptions.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/fragments/winrm-all-timeout-exceptions.yaml b/changelogs/fragments/winrm-all-timeout-exceptions.yaml
new file mode 100644
index 0000000000..589635e5bc
--- /dev/null
+++ b/changelogs/fragments/winrm-all-timeout-exceptions.yaml
@@ -0,0 +1,4 @@
+---
+minor_changes:
+ - Catch all connection timeout related exceptions and raise
+ AnsibleConnectionError instead