diff --git a/app/models/form_submission_attempt.rb b/app/models/form_submission_attempt.rb index a456549b9f5..7ce20e62fa6 100644 --- a/app/models/form_submission_attempt.rb +++ b/app/models/form_submission_attempt.rb @@ -25,6 +25,12 @@ class FormSubmissionAttempt < ApplicationRecord event :fail do after do + Rails.logger.info({ + message: 'Preparing to send Form Submission Attempt error email', + form_submission_id:, + benefits_intake_uuid: form_submission&.benefits_intake_uuid, + form_type: form_submission&.form_type + }) enqueue_result_email(:error) if Flipper.enabled?(:simple_forms_email_notifications) end