Skip to content

Commit

Permalink
Raise a more specific exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Aug 15, 2016
1 parent 0cc10d1 commit ecf3d6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/galaxy/tools/deps/resolvers/conda.py
Expand Up @@ -166,6 +166,11 @@ def resolve(self, name, version, type, **kwds):
version
)
else:
if len(conda_environment) > 79:
# TODO: remove this once conda_build version 2 is released and packages have been rebuilt.
raise Exception("Conda dependency failed to build job environment."
"This is most likely a limitation in conda. "
"You can try to shorten the path to the job_working_directory.")
raise Exception("Conda dependency seemingly installed but failed to build job environment.")

def list_dependencies(self):
Expand Down

0 comments on commit ecf3d6a

Please sign in to comment.