mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Send a log message informing that we are sending canary to CBC proxy
This commit is contained in:
@@ -298,4 +298,6 @@ def check_for_services_with_high_failure_rates_or_sending_to_tv_numbers():
|
||||
@notify_celery.task(name='send-canary-to-cbc-proxy')
|
||||
def send_canary_to_cbc_proxy():
|
||||
identifier = str(uuid.uuid4())
|
||||
message = f"Sending a canary message to CBC proxy with ID {identifier}"
|
||||
current_app.logger.info(message)
|
||||
cbc_proxy_client.send_canary(identifier)
|
||||
|
||||
Reference in New Issue
Block a user