loader: printed searched directories if profile is not found
This commit is contained in:
parent
140443a8f1
commit
bb40c14cc7
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class Loader(object):
|
|||
for name in profile_names:
|
||||
filename = self._find_config_file(name, processed_files)
|
||||
if filename is None:
|
||||
raise InvalidProfileException("Cannot find profile '%s'." % name)
|
||||
raise InvalidProfileException("Cannot find profile '%s' in '%s'." % (name, list(reversed(self._load_directories))))
|
||||
processed_files.append(filename)
|
||||
|
||||
config = self._load_config_data(filename)
|
||||
|
|
|
|||
Loading…
Reference in a new issue