aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/action_mailroom
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-09-27 15:21:00 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-09-27 15:21:00 -0700
commit7362459d60b9070dce0a5dcbe67f26a5e511d5ca (patch)
treed3b7982435e0ef2c4cccebeac71598c226683008 /app/models/action_mailroom
parent427fa83325848d497901a45f3cd15fa2dff78d19 (diff)
downloadrails-7362459d60b9070dce0a5dcbe67f26a5e511d5ca.tar.gz
rails-7362459d60b9070dce0a5dcbe67f26a5e511d5ca.tar.bz2
rails-7362459d60b9070dce0a5dcbe67f26a5e511d5ca.zip
Add TODOs based on review call
Diffstat (limited to 'app/models/action_mailroom')
-rw-r--r--app/models/action_mailroom/inbound_email.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/action_mailroom/inbound_email.rb b/app/models/action_mailroom/inbound_email.rb
index 7ec54763b1..f9842eead7 100644
--- a/app/models/action_mailroom/inbound_email.rb
+++ b/app/models/action_mailroom/inbound_email.rb
@@ -20,6 +20,8 @@ class ActionMailroom::InboundEmail < ActiveRecord::Base
private
def extract_message_id(raw_email)
mail_from_raw_content(raw_email.read).message_id
+ rescue => e
+ # TODO: Assign message id if it can't be extracted?
end
end