openstack-python-neutronclient/neutronclient
Jay Faulkner a09e82470f Convert exception to string before passing it in
Before this change, neutronclient was passing in a raw exception
as a kwarg to the ConnectionFailed exception. This caused an
exception to be raised in _safe_decode_dict() due to the exception
not being a text type.

Now, we explicitly convert the raw exception to a string before
passing it as a kwarg.

Closes-bug: 1859068
Change-Id: I323b3aceec0a937874eabf770fbc82995202f6d6
(cherry picked from commit 946ac3ed2e)
2020-02-03 14:44:51 +00:00
..
common Fix string in header 2019-08-20 15:17:30 +04:00
neutron Replace git.openstack.org URLs with opendev.org URLs 2019-04-28 14:25:39 +08:00
osc Add friendly event hints for logging 2019-07-16 22:47:48 -04:00
tests Fix pep8 errors with hacking 2.0.0 2020-01-29 16:34:58 +00:00
v2_0 Add router add/remove extra routes operations 2019-09-13 09:07:19 +00:00
__init__.py Empty file shouldn't contain copyright nor license 2014-03-13 09:00:18 +08:00
_i18n.py Remove log translations 2017-03-23 15:44:49 +08:00
client.py Convert exception to string before passing it in 2020-02-03 14:44:51 +00:00
shell.py Improve help text 2019-08-30 08:28:22 +08:00
version.py Add reno for release notes management 2015-11-24 07:39:23 +09:00