summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-06-20 12:56:28 -0400
committerRussell Bryant <rbryant@redhat.com>2012-06-20 12:56:28 -0400
commitb686068279e13c1b40598117eb78494d9b7f6c91 (patch)
treecfc41693103462f1b26d53449fa2160cd7ba7d4f /openstack
parentb76f83946ff9adbfbb482c9ec2fe623e679dde07 (diff)
downloadoslo-b686068279e13c1b40598117eb78494d9b7f6c91.tar.gz
oslo-b686068279e13c1b40598117eb78494d9b7f6c91.tar.xz
oslo-b686068279e13c1b40598117eb78494d9b7f6c91.zip
Call exception on the logger, not the logging module.
Change-Id: Ia3cffe7473c59308f9dcbb40fccb8e2028e2aa96
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/rpc/impl_qpid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/impl_qpid.py b/openstack/common/rpc/impl_qpid.py
index 850a60c..d01bf0d 100644
--- a/openstack/common/rpc/impl_qpid.py
+++ b/openstack/common/rpc/impl_qpid.py
@@ -141,7 +141,7 @@ class ConsumerBase(object):
try:
self.callback(message.content)
except Exception:
- logging.exception(_("Failed to process message... skipping it."))
+ LOG.exception(_("Failed to process message... skipping it."))
finally:
self.session.acknowledge(message)