From b686068279e13c1b40598117eb78494d9b7f6c91 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 20 Jun 2012 12:56:28 -0400 Subject: Call exception on the logger, not the logging module. Change-Id: Ia3cffe7473c59308f9dcbb40fccb8e2028e2aa96 --- openstack/common/rpc/impl_qpid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openstack') 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) -- cgit