jsoncell: just warn if a template variable is missing (#15212)

This commit is contained in:
Thomas NOËL 2017-03-02 18:42:21 +01:00
parent 9606dc85fc
commit ff7576fb7b
1 changed files with 1 additions and 1 deletions

View File

@ -802,7 +802,7 @@ class JsonCell(CellBase):
url = utils.get_templated_url(self.url, context)
except utils.UnknownTemplateVariableError:
logger = logging.getLogger(__name__)
logger.error('unknown variable in template URL (%s)', self.url)
logger.warning('unknown variable in template URL (%s)', self.url)
return extra_context
json_response = utils.requests.get(url,
headers={'Accept': 'application/json'},