Skip to content

Commit a7b8324

Browse files
authored
IVC: Log email file count (#25254)
* IVC: Log email file count
1 parent 86c7878 commit a7b8324

File tree

1 file changed

+2
-0
lines changed
  • modules/ivc_champva/app/services/ivc_champva

1 file changed

+2
-0
lines changed

modules/ivc_champva/app/services/ivc_champva/email.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def send_email
4040
# See: https://github.com/department-of-veterans-affairs/vets-api/tree/master/modules/va_notify#how-teams-can-integrate-with-callbacks
4141
{ callback_klass: data[:callback_klass], callback_metadata: data[:callback_metadata] }
4242
)
43+
Rails.logger.info "Pega Status Update Email: #{data[:file_count].to_i} file(s)"
44+
4345
true
4446
rescue => e
4547
Rails.logger.error "Pega Status Update Email Error: #{e.message}"

0 commit comments

Comments
 (0)