From 84183b7bb1c42a80b323ea3caef30467dcde23a6 Mon Sep 17 00:00:00 2001 From: re4k Date: Thu, 4 Apr 2013 19:20:51 +0900 Subject: Add test(partial) --- lib/aclog/notification.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/aclog') diff --git a/lib/aclog/notification.rb b/lib/aclog/notification.rb index b2a89ba..85919a3 100644 --- a/lib/aclog/notification.rb +++ b/lib/aclog/notification.rb @@ -16,8 +16,8 @@ module Aclog begin @@account.update("@#{user.screen_name} #{text} #{url}", :in_reply_to_status_id => tweet.id) rescue Exception - logger.error($!) - logger.error($@) + Rails.logger.error($!) + Rails.logger.error($@) end end end -- cgit v1.2.3