From 34b809ce6d6a73296bfbc9f9677f7fb04c218c49 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Thu, 18 Oct 2018 16:29:35 -0400 Subject: Fix logger reference --- .../action_mailbox/ingresses/mandrill/inbound_emails_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3