diff --git a/redash/models.py b/redash/models.py index 39f9e74e7e..9082ac9ce3 100644 --- a/redash/models.py +++ b/redash/models.py @@ -683,7 +683,7 @@ def store_result(cls, org, data_source, query_hash, query, data, run_time, retri try: data_scanned_information = json.loads(data)['data_scanned'] except (ValueError, TypeError) as e: - data_scanned_information = e + data_scanned_information = 'error' query_result = cls(org=org, query_hash=query_hash,