]> source.dussan.org Git - redmine.git/commitdiff
Fixed: undefined local variable or method 'log' in CvsAdapter when a cvs command...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 3 Jan 2008 18:28:14 +0000 (18:28 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 3 Jan 2008 18:28:14 +0000 (18:28 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1034 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/abstract_adapter.rb

index 138d7e647c8adedca0f5127f1eeb6dea05dd338b..633637ab498426bdb678e339fc1ec5ceb0fe82d9 100644 (file)
@@ -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