diff options
| author | Jay Faulkner <jay@jvf.cc> | 2020-01-07 11:50:43 -0800 |
|---|---|---|
| committer | Ruby Loo <opensrloo@gmail.com> | 2020-02-03 14:44:51 +0000 |
| commit | a09e82470fd934e1ecb46b53a1c0836ef4df744b (patch) | |
| tree | ce863ef83270e60a665c24e9e34e77b5a246b35e /doc | |
| parent | 33ae5ad4e17fa4b38b5b7b0892d4ea8de2532361 (diff) | |
| download | python-neutronclient-train-em.tar.gz | |
Convert exception to string before passing it intrain-em6.14.1stable/train
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 946ac3ed2e9e177eb5c56cc74aadbc091b9292ab)
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
