0001-cells-log-level-error-if-error-in-url-jsoncell-56979.patch
combo/data/models.py | ||
---|---|---|
1852 | 1852 |
url = utils.get_templated_url(data_url_dict['url'], context) |
1853 | 1853 |
except utils.TemplateError as e: |
1854 | 1854 |
logger = logging.getLogger(__name__) |
1855 |
logger.warning('error in templated URL (%s): %s', data_url_dict['url'], e) |
|
1855 |
if log_errors: |
|
1856 |
logger.error('error in templated URL (%s): %s', data_url_dict['url'], e) |
|
1857 |
else: |
|
1858 |
logger.debug('error in templated URL (%s): %s', data_url_dict['url'], e) |
|
1856 | 1859 |
continue |
1857 | 1860 |
extra_context[data_key + '_url'] = url |
1858 | 1861 |
if not url: |
1859 |
- |