Skip to content

Commit

Permalink
Upgrade clone failure logging to error
Browse files Browse the repository at this point in the history
When a failed clone logs as log.debug() this is invisible to a production Galaxy admin. This change upgrades the logging to 'log.error()'.
  • Loading branch information
pvanheus authored and mvdbeek committed Mar 19, 2018
1 parent 127d7b8 commit ef45ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tool_shed/util/hg_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def clone_repository(repository_clone_url, repository_file_dir, ctx_rev):
error_message = 'Error cloning repository: %s' % e
if isinstance(e, subprocess.CalledProcessError):
error_message += "\nOutput was:\n%s" % stdouterr
log.debug(error_message)
log.error(error_message)
return False, error_message


Expand Down

0 comments on commit ef45ae3

Please sign in to comment.