]> source.dussan.org Git - redmine.git/commitdiff
scm: git: output log if revisions() catches an error (#7146).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 12 May 2011 23:44:43 +0000 (23:44 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 12 May 2011 23:44:43 +0000 (23:44 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5763 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/git_adapter.rb

index 5a04f59aefbbf8c3243b63e8ada73f36dc35292c..8b1afd5a7d7ccb67cc5a7495f37e388d5257b32b 100644 (file)
@@ -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