From 0e6ef9fa578b6f8502be41d005a9bd3fb079029c Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Tue, 21 May 2019 16:26:00 +0100 Subject: [PATCH] This is probably a temporary log message, to make sure our new inbound numbers are working. --- app/notifications/receive_notifications.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/notifications/receive_notifications.py b/app/notifications/receive_notifications.py index 848c7d239..8c6ce4ff5 100644 --- a/app/notifications/receive_notifications.py +++ b/app/notifications/receive_notifications.py @@ -46,6 +46,10 @@ def receive_mmg_sms(): if not service: # since this is an issue with our service <-> number mapping, or no inbound_sms service permission # we should still tell MMG that we received it successfully + current_app.logger.info( + 'Inbound message received from MMG for number: {} which is not associated to a service'.format( + post_data['MSISDN']) + ) return 'RECEIVED', 200 statsd_client.incr('inbound.mmg.successful')