diff options
| author | Sandy Walsh <sandy.walsh@rackspace.com> | 2011-06-28 21:04:50 -0700 |
|---|---|---|
| committer | Sandy Walsh <sandy.walsh@rackspace.com> | 2011-06-28 21:04:50 -0700 |
| commit | a0f968235332e5400d507bbafa99bc0728aa8479 (patch) | |
| tree | ef67f6404ed19906d0129adb73de220e45e3661c /nova/rpc.py | |
| parent | 4c98425ba7a53c8b966317444abe2d4f7b6556d8 (diff) | |
| download | nova-a0f968235332e5400d507bbafa99bc0728aa8479.tar.gz nova-a0f968235332e5400d507bbafa99bc0728aa8479.tar.xz nova-a0f968235332e5400d507bbafa99bc0728aa8479.zip | |
moved to wrap_exception decorator
Diffstat (limited to 'nova/rpc.py')
| -rw-r--r-- | nova/rpc.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/nova/rpc.py b/nova/rpc.py index 47d63769a..2e78a31e7 100644 --- a/nova/rpc.py +++ b/nova/rpc.py @@ -44,7 +44,6 @@ from nova import fakerabbit from nova import flags from nova import log as logging from nova import utils -from nova.notifier import api as notifier LOG = logging.getLogger('nova.rpc') @@ -313,7 +312,6 @@ class ConsumerSet(object): if not it: break while True: - ex = None try: it.next() except StopIteration: @@ -321,13 +319,7 @@ class ConsumerSet(object): except greenlet.GreenletExit: running = False break - except exception.NovaException, e: - ex = e - notifier.exception_to_notification(e) except Exception as e: - ex = e - - if ex: LOG.exception(_("Exception while processing consumer")) self.reconnect() # Break to outer loop |
