summaryrefslogtreecommitdiffstats
path: root/nova/service.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/service.py')
-rw-r--r--nova/service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/service.py b/nova/service.py
index dec3812d2..60583dcdb 100644
--- a/nova/service.py
+++ b/nova/service.py
@@ -152,7 +152,7 @@ class Service(object, service.Service):
logging.error("Recovered model server connection!")
# TODO(vish): this should probably only catch connection errors
- except: # pylint: disable-msg=W0702
+ except Exception: # pylint: disable-msg=W0702
if not getattr(self, "model_disconnected", False):
self.model_disconnected = True
logging.exception("model server went away")