From b8850ca9d640dae16c4b217a78e998371fdfe05b Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 12 May 2011 23:44:43 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/git_adapter.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5