Skip to content

Commit 0c7725b

Browse files
committed
[skip]more debugger(1m)
1 parent 51e85af commit 0c7725b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/controllers/ep_postmaster/mailgun_hooks_controller.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def event_data?
3636
end
3737

3838
def deliver_bounced_email_notification
39+
Rails.logger.info "[POSTMASTER] reply_to: #{mailgun_post.reply_to || "no reply_to"}"
3940
if mailgun_post.reply_to
4041
options = {
4142
original_message: mailgun_post, # <-- should act like a Mail::Message
@@ -47,6 +48,7 @@ def deliver_bounced_email_notification
4748
error: EpPostmaster::SmtpError.normalize(mailgun_post.code, mailgun_post.error, mailgun_post.recipient)
4849
}
4950

51+
Rails.logger.info "[POSTMASTER] options: #{options.inspect}"
5052
EpPostmaster.configuration.deliver! Postmaster.bounced_email(options)
5153
else
5254
logger.debug "Bounced Email Notification: No sender specified when handling bounced email to #{mailgun_post.recipient}"

0 commit comments

Comments
 (0)