Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: log success message on offer emails
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveagent57 committed Jul 6, 2022
1 parent 822194d commit e079579
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ecommerce_worker/email/v1/braze/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ def send_api_triggered_offer_usage_email_via_braze(
message_kwargs['emails'].append(user_email)

braze_client.send_campaign_message(**message_kwargs)
logger.info(
'Sent a Braze API-triggered enterprise offer campaign message with kwargs: {}'.format(message_kwargs)
)
except (edx_braze_exceptions.BrazeRateLimitError, edx_braze_exceptions.BrazeInternalServerError) as exc:
raise self.retry(
countdown=OFFER_USAGE_RETRY_DELAY_SECONDS,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def is_requirement(line):

setup(
name='edx-ecommerce-worker',
version='3.3.1',
version='3.3.2',
description='Celery tasks supporting the operations of edX\'s ecommerce service',
long_description=long_description,
classifiers=[
Expand Down

0 comments on commit e079579

Please sign in to comment.