From 194f775c9c1cddf29a1554b1c5f7d8061fc74fd5 Mon Sep 17 00:00:00 2001 From: Pawel Suder Date: Mon, 28 Jan 2019 16:23:20 +0100 Subject: [PATCH] Fix exception logging formatting That change corrects formatting of logging exception. TrivalFix Change-Id: I5a50f81cc03f9b88cab34c3ab562b0df03e271d7 --- neutron_lib/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron_lib/rpc.py b/neutron_lib/rpc.py index 5644fbdb2..1a73a18ec 100644 --- a/neutron_lib/rpc.py +++ b/neutron_lib/rpc.py @@ -109,7 +109,7 @@ class _ContextWrapper(object): # bug/1705351 is resolved on the oslo.messaging side; if # oslo.messaging auto-creates the exchange, then just remove the # code completely - LOG.debug("Ignored exception during cast: %e", e) + LOG.debug("Ignored exception during cast: %s", str(e)) class _BackingOffContextWrapper(_ContextWrapper):