scm: add log message of config/configuration.yml if scm command raise Errno::ENOENT exception (#7517, #4273).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6007 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b2d04df37e
commit
283db475e1
|
@ -228,8 +228,9 @@ module Redmine
|
||||||
msg = strip_credential(e.message)
|
msg = strip_credential(e.message)
|
||||||
# The command failed, log it and re-raise
|
# The command failed, log it and re-raise
|
||||||
logmsg = "SCM command failed, "
|
logmsg = "SCM command failed, "
|
||||||
logmsg += "make sure that your SCM binary (eg. svn) is "
|
logmsg += "make sure that your SCM command (e.g. svn) is "
|
||||||
logmsg += "in PATH (#{ENV['PATH']}): "
|
logmsg += "in PATH (#{ENV['PATH']})\n"
|
||||||
|
logmsg += "You can configure your scm commands in config/configuration.yml.\n"
|
||||||
logmsg += "#{strip_credential(cmd)}\n"
|
logmsg += "#{strip_credential(cmd)}\n"
|
||||||
logmsg += "with: #{msg}"
|
logmsg += "with: #{msg}"
|
||||||
logger.error(logmsg)
|
logger.error(logmsg)
|
||||||
|
|
Loading…
Reference in New Issue