scm: git: output log if revisions() catches an error (#7146).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5763 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
30aecd5e25
commit
b8850ca9d6
|
@ -264,7 +264,8 @@ module Redmine
|
|||
end
|
||||
end
|
||||
revs
|
||||
rescue ScmCommandAborted
|
||||
rescue ScmCommandAborted => e
|
||||
logger.error("git log #{from_to.to_s} error: #{e.message}")
|
||||
revs
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue