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
This commit is contained in:
Jean-Philippe Lang 2008-01-03 18:28:14 +00:00
parent b21e85b6dc
commit 832c7eaaa5
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ module Redmine
end end
rescue Errno::ENOENT => e rescue Errno::ENOENT => e
# The command failed, log it and re-raise # 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 raise CommandFailed
end end
end end