##// END OF EJS Templates
Merge(backport) r6230 from trunk (#8825)....
Toshi MARUYAMA -
r6153:68e97858cb02
parent child
Show More
@@ -216,7 +216,11 module Redmine
216 io.close_write
216 io.close_write
217 block.call(io) if block_given?
217 block.call(io) if block_given?
218 end
218 end
219 rescue Errno::ENOENT => e
219 ## If scm command does not exist,
220 ## Linux JRuby 1.6.2 (ruby-1.8.7-p330) raises java.io.IOException
221 ## in production environment.
222 # rescue Errno::ENOENT => e
223 rescue Exception => e
220 msg = strip_credential(e.message)
224 msg = strip_credential(e.message)
221 # The command failed, log it and re-raise
225 # The command failed, log it and re-raise
222 logmsg = "SCM command failed, "
226 logmsg = "SCM command failed, "
General Comments 0
You need to be logged in to leave comments. Login now