summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorEric Windisch <eric@cloudscaling.com>2012-06-28 00:30:50 -0400
committerEric Windisch <eric@cloudscaling.com>2012-06-28 00:31:01 -0400
commit55383c9ac3c4a625038728202854b831a292fdd2 (patch)
tree987a140e8341a93b72fa81bf72a69ac1a26f0893 /openstack
parentae2c6f0c93a1c1bdb2dd503978ef912547114f55 (diff)
downloadoslo-55383c9ac3c4a625038728202854b831a292fdd2.tar.gz
oslo-55383c9ac3c4a625038728202854b831a292fdd2.tar.xz
oslo-55383c9ac3c4a625038728202854b831a292fdd2.zip
Fix missing RPCException from raise
Change-Id: Ia850b07d29459b760d24f9bffdd88e4176cb7faf
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/rpc/impl_zmq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rpc/impl_zmq.py b/openstack/common/rpc/impl_zmq.py
index 560e649..6bb9aa9 100644
--- a/openstack/common/rpc/impl_zmq.py
+++ b/openstack/common/rpc/impl_zmq.py
@@ -707,7 +707,7 @@ def register_opts(conf):
if mm_path[-1][0] not in string.ascii_uppercase:
LOG.error(_("Matchmaker could not be loaded.\n"
"rpc_zmq_matchmaker is not a class."))
- raise
+ raise RPCException(_("Error loading Matchmaker."))
mm_impl = importutils.import_module(mm_module)
mm_constructor = getattr(mm_impl, mm_class)