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

Merge pull request #7 in SSA/pycapo from clarify-profile-error-message to main

* commit 'bccfae23':
  Clarified error message for missing profile
parents 107bc846 bccfae23
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