Skip to content

Commit

Permalink
Squash #2137 - Correction to logging in new module
Browse files Browse the repository at this point in the history
  • Loading branch information
MackHalliday committed Dec 4, 2024
1 parent 55d3c65 commit ae3c97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/celery/send_va_profile_notification_status_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ def check_and_queue_va_profile_notification_status_callback(notification: Notifi
:param notification: the notification (email or sms) to collect data from
"""
current_app.logger.debug(
'Sending email status to VA Profile, checking VA_PROFILE_SMS_STATUS_ENABLE feature flag... | notification %s',
'Sending notification status to VA Profile, checking VA_PROFILE_SMS_STATUS_ENABLE feature flag... | notification %s',
notification.id,
)

if is_feature_enabled(FeatureFlag.VA_PROFILE_SMS_STATUS_ENABLED) or notification.notification_type == EMAIL_TYPE:
current_app.logger.debug(
'Sending email status to VA Profile, collecting data for notification %s', notification.id
'Sending notification status to VA Profile, collecting data for notification %s', notification.id
)
notification_data = {
'id': str(notification.id), # this is the notification id
Expand Down

0 comments on commit ae3c97e

Please sign in to comment.