aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-10-18 16:29:35 -0400
committerGeorge Claghorn <george@basecamp.com>2018-10-18 16:29:35 -0400
commit34b809ce6d6a73296bfbc9f9677f7fb04c218c49 (patch)
treeb9e8eead00452a0f34ed50a9a59ec8b48de53ec6
parentb3919d01554d31c5486d17332f4a4dde89a23239 (diff)
downloadrails-34b809ce6d6a73296bfbc9f9677f7fb04c218c49.tar.gz
rails-34b809ce6d6a73296bfbc9f9677f7fb04c218c49.tar.bz2
rails-34b809ce6d6a73296bfbc9f9677f7fb04c218c49.zip
Fix logger reference
-rw-r--r--app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb b/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
index 7910359f51..6ee2f5be54 100644
--- a/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
+++ b/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
@@ -5,7 +5,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ActionMailbo
raw_emails.each { |raw_email| ActionMailbox::InboundEmail.create_and_extract_message_id! raw_email }
head :ok
rescue JSON::ParserError => error
- log.error error.message
+ logger.error error.message
head :unprocessable_entity
end