mirror of
https://github.com/clearml/clearml-session
synced 2025-01-31 02:46:56 +00:00
Merge pull request #25 from SyntenyBio/jday1/shortterm-bugfix-24
Bugfix 24: Added meaningful error message for symlink failure
This commit is contained in:
commit
2392e9a7d6
@ -708,7 +708,9 @@ def setup_user_env(param, task):
|
||||
try:
|
||||
os.symlink(os.path.abspath(os.path.join(os.path.abspath(sys.executable), '..', '..')), environment)
|
||||
print('Virtual environment are available at {}'.format(environment))
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
print("Error: Exception while trying to create symlink. The Application will continue...")
|
||||
print(e)
|
||||
pass
|
||||
# set default user credentials
|
||||
if param.get("user_key") and param.get("user_secret"):
|
||||
|
Loading…
Reference in New Issue
Block a user