Commit 832c7eaa authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

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
parent b21e85b6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment