From 832c7eaaa5af2e13c52b1c264b9849f958394d2e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 3 Jan 2008 18:28:14 +0000 Subject: [PATCH] Fixed: undefined local variable or method 'log' in CvsAdapter when a cvs command fails. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1034 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/abstract_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 138d7e647..633637ab4 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -119,7 +119,7 @@ module Redmine end rescue Errno::ENOENT => e # The command failed, log it and re-raise - log.error("SCM command failed: #{cmd}\n with: #{e.message}") + logger.error("SCM command failed: #{cmd}\n with: #{e.message}") raise CommandFailed end end -- 2.39.5