@@ -216,7 +216,11 module Redmine | |||
|
216 | 216 | io.close_write |
|
217 | 217 | block.call(io) if block_given? |
|
218 | 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 | 224 | msg = strip_credential(e.message) |
|
221 | 225 | # The command failed, log it and re-raise |
|
222 | 226 | logmsg = "SCM command failed, " |
General Comments 0
You need to be logged in to leave comments.
Login now