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:
parent
b21e85b6dc
commit
832c7eaaa5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue