Merge "Log failed metadata retrievals"

This commit is contained in:
Zuul 2021-11-11 14:37:33 +00:00 committed by Gerrit Code Review
commit 20c8983761
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ class MetadataRequestHandler(wsgi.Application):
try:
data = base.get_metadata_by_address(address)
except exception.NotFound:
LOG.exception('Failed to get metadata for IP %s', address)
return None
if CONF.api.metadata_cache_expiration > 0: