Log return code if error.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8239 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b6612ea8bb
commit
b49f83a22a
|
@ -232,6 +232,7 @@ module Redmine
|
|||
io.close_write
|
||||
block.call(io) if block_given?
|
||||
end
|
||||
logger.debug "Return code: #{$?.exitstatus}" if !$?.success? && logger && logger.debug?
|
||||
## If scm command does not exist,
|
||||
## Linux JRuby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException
|
||||
## in production environment.
|
||||
|
|
Loading…
Reference in New Issue