amelioration(dolist_api): forward le message_id afin de faciliter les investigations
This commit is contained in:
parent
709a9e82a2
commit
2de9026c13
5 changed files with 27 additions and 3 deletions
|
@ -10,6 +10,7 @@
|
|||
# to :string not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# message_id :string
|
||||
#
|
||||
class EmailEvent < ApplicationRecord
|
||||
enum status: {
|
||||
|
@ -30,6 +31,7 @@ class EmailEvent < ApplicationRecord
|
|||
subject: message.subject || "",
|
||||
processed_at: message.date,
|
||||
method: ActionMailer::Base.delivery_methods.key(message.delivery_method.class),
|
||||
message_id: message.message_id,
|
||||
status:
|
||||
)
|
||||
rescue StandardError => error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue