jsoncell: just warn if a template variable is missing (#15212)
This commit is contained in:
parent
9606dc85fc
commit
ff7576fb7b
|
@ -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'},
|
||||
|
|
Loading…
Reference in New Issue