Degrade inbound number not associated with service message from error to warning

This commit is contained in:
Pea Tyczynska
2020-03-16 09:58:22 +00:00
parent fa72eb651f
commit 845af4f5be

View File

@@ -149,7 +149,7 @@ def fetch_potential_service(inbound_number, provider_name):
service = dao_fetch_service_by_inbound_number(inbound_number)
if not service:
current_app.logger.error('Inbound number "{}" from {} not associated with a service'.format(
current_app.logger.warning('Inbound number "{}" from {} not associated with a service'.format(
inbound_number, provider_name
))
statsd_client.incr('inbound.{}.failed'.format(provider_name))