diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-08-25 12:31:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-08-25 12:31:53 +0000 |
commit | dbf4438ddac07afae85358025fd8bb1d3c121c77 (patch) | |
tree | 457f48388f440db7311a447b199a067c636b0625 | |
parent | 0d556525520e1781729f34fa46638db43e9831ff (diff) | |
download | redmine-dbf4438ddac07afae85358025fd8bb1d3c121c77.tar.gz redmine-dbf4438ddac07afae85358025fd8bb1d3c121c77.zip |
More detailed error message in log when scm command fails (#1682).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1757 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redmine/scm/adapters/abstract_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index c096a6e43..9f400880d 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -179,7 +179,7 @@ module Redmine rescue Errno::ENOENT => e msg = strip_credential(e.message) # The command failed, log it and re-raise - logger.error("SCM command failed: #{strip_credential(cmd)}\n with: #{msg}") + logger.error("SCM command failed, make sure that your SCM binary (eg. svn) is in PATH (#{ENV['PATH']}): #{strip_credential(cmd)}\n with: #{msg}") raise CommandFailed.new(msg) end end |