diff --git a/roles/upload-logs-swift/library/zuul_swift_upload.py b/roles/upload-logs-swift/library/zuul_swift_upload.py index 4988750f6..1fae10896 100755 --- a/roles/upload-logs-swift/library/zuul_swift_upload.py +++ b/roles/upload-logs-swift/library/zuul_swift_upload.py @@ -694,7 +694,7 @@ def ansible_main(): delete_after=p.get('delete_after', 15552000), prefix=p.get('prefix'), public=p.get('public')) - except (keystoneauth1.exceptions.http.HTTPError, + except (keystoneauth1.exceptions.http.HttpError, requests.exceptions.RequestException) as e: module.fail_json( changed=False,