Skip to content
Snippets Groups Projects
Commit bccfae23 authored by Sam Kagan's avatar Sam Kagan
Browse files

Clarified error message for missing profile

parent 107bc846
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,7 @@ class CapoConfig:
elif 'CAPO_PROFILE' in os.environ:
self.profile = os.environ['CAPO_PROFILE']
else:
raise ValueError('could not determine profile')
raise ValueError('Expected profile via CAPO_PROFILE or \"profile\" kwarg, found neither')
if 'path' in kwargs and kwargs['path']:
self._path = kwargs['path']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment