aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/action_mailbox/ingresses/mandrill
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/action_mailbox/ingresses/mandrill')
-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