summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/redmine/scm/adapters/abstract_adapter.rb2
1 files changed, 1 insertions, 1 deletions
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