diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-06-20 12:56:28 -0400 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-06-20 12:56:28 -0400 |
| commit | b686068279e13c1b40598117eb78494d9b7f6c91 (patch) | |
| tree | cfc41693103462f1b26d53449fa2160cd7ba7d4f /openstack | |
| parent | b76f83946ff9adbfbb482c9ec2fe623e679dde07 (diff) | |
| download | oslo-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.py | 2 |
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) |
