mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Improve error message
This commit is contained in:
parent
c42b8b4ad7
commit
5a134d406b
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ class RabbitMqPlugins(object):
|
||||||
bin_path = os.path.join(module.params['prefix'], 'sbin')
|
bin_path = os.path.join(module.params['prefix'], 'sbin')
|
||||||
else:
|
else:
|
||||||
# No such path exists.
|
# 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"
|
self._rabbitmq_plugins = bin_path + "/rabbitmq-plugins"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue