You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2020. It is now read-only.
This is raised from api.py:request line 207 (or 204 in 0.3 release)
Since ConnectionError has no 'message' attribute it causes an exception inside the except clause.
Python3.6, pychef==0.3.
Here is the relevant code:
try:
response = self._request(method, self.url + path, data, dict(
(k.capitalize(), v) for k, v in six.iteritems(request_headers)))
except requests.ConnectionError as e:
raise ChefServerError(e.message)
The text was updated successfully, but these errors were encountered:
This is raised from api.py:request line 207 (or 204 in 0.3 release)
Since ConnectionError has no 'message' attribute it causes an exception inside the except clause.
Python3.6, pychef==0.3.
Here is the relevant code:
The text was updated successfully, but these errors were encountered: