paws-compose-server | File "/app/./api/common_api.py", line 385, in get_support_oview
paws-compose-server | logger.warn('No SF contact IDs found for matching_id %', str(matching_id))
paws-compose-server | File "/usr/local/lib/python3.8/site-packages/structlog/_log_levels.py", line 163, in meth
paws-compose-server | return self._proxy_to_logger(name, event % args, **kw)
paws-compose-server | ValueError: incomplete format
At the suggestion of @sposerina, it looks like all we need to do is change
logger.warn('No SF contact IDs found for matching_id %', str(matching_id))
to
logger.warn('No SF contact IDs found for matching_id %s', str(matching_id))
This aligns with the usage example in the docs:
...You can still use string interpolation using positional arguments:
>>> log.info("Hello, %s!", "world")
2022-10-10 07:19:25 [info ] Hello, world!
Error:
At the suggestion of @sposerina, it looks like all we need to do is change
to
This aligns with the usage example in the docs: