From: Toshi MARUYAMA Date: Thu, 12 May 2011 23:44:43 +0000 (+0000) Subject: scm: git: output log if revisions() catches an error (#7146). X-Git-Tag: 1.2.0~130 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b8850ca9d640dae16c4b217a78e998371fdfe05b;p=redmine.git 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 --- diff --git a/lib/redmine/scm/adapters/git_adapter.rb b/lib/redmine/scm/adapters/git_adapter.rb index 5a04f59ae..8b1afd5a7 100644 --- a/lib/redmine/scm/adapters/git_adapter.rb +++ b/lib/redmine/scm/adapters/git_adapter.rb @@ -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