##// END OF EJS Templates
More detailed error message in log when scm command fails (#1682)....
Jean-Philippe Lang -
r1756:dbf4438ddac0
parent child
Show More
@@ -179,7 +179,7 module Redmine
179 rescue Errno::ENOENT => e
179 rescue Errno::ENOENT => e
180 msg = strip_credential(e.message)
180 msg = strip_credential(e.message)
181 # The command failed, log it and re-raise
181 # The command failed, log it and re-raise
182 logger.error("SCM command failed: #{strip_credential(cmd)}\n with: #{msg}")
182 logger.error("SCM command failed, make sure that your SCM binary (eg. svn) is in PATH (#{ENV['PATH']}): #{strip_credential(cmd)}\n with: #{msg}")
183 raise CommandFailed.new(msg)
183 raise CommandFailed.new(msg)
184 end
184 end
185 end
185 end
General Comments 0
You need to be logged in to leave comments. Login now