json cells: don't log on empty URLs (#25692)

This commit is contained in:
Frédéric Péters 2018-08-15 09:55:23 +02:00
parent cf596ea8f3
commit c5f7d9ec3a
1 changed files with 0 additions and 2 deletions

View File

@ -1077,8 +1077,6 @@ class JsonCellBase(CellBase):
continue
extra_context[data_key + '_url'] = url
if not url:
logger = logging.getLogger(__name__)
logger.warning('templated URL (%s) is empty', data_url_dict['url'])
continue
try:
json_response = utils.requests.get(url,