Improve error message

This commit is contained in:
Philip Carinhas 2014-12-07 10:01:49 -06:00 committed by Matt Clay
parent c42b8b4ad7
commit 5a134d406b

View file

@ -72,7 +72,8 @@ class RabbitMqPlugins(object):
bin_path = os.path.join(module.params['prefix'], 'sbin')
else:
# No such path exists.
raise Exception("No binary folder in RabbitMQ prefix")
raise Exception("No binary folder in prefix %s" %
module.params['prefix'])
self._rabbitmq_plugins = bin_path + "/rabbitmq-plugins"