diff --git a/combo/data/models.py b/combo/data/models.py index a6e43b81..fea504df 100644 --- a/combo/data/models.py +++ b/combo/data/models.py @@ -961,7 +961,10 @@ class JsonCellBase(CellBase): except ValueError: extra_context[data_key + '_error'] = 'invalid_json' logger = logging.getLogger(__name__) - logger.error('invalid json content (%s)', url) + if log_errors: + logger.error('invalid json content (%s)', url) + else: + logger.debug('invalid json content (%s)', url) continue elif json_response.headers.get('content-type') == 'application/json': try: