diff --git a/client/app/pages/admin/OutdatedQueries.jsx b/client/app/pages/admin/OutdatedQueries.jsx
index e97e762846..04faecff5b 100644
--- a/client/app/pages/admin/OutdatedQueries.jsx
+++ b/client/app/pages/admin/OutdatedQueries.jsx
@@ -103,11 +103,14 @@ class OutdatedQueries extends React.Component {
onChange={autoUpdate => this.setState({ autoUpdate })}
/>
- {controller.params.lastUpdatedAt && (
-
- Last updated:
-
- )}
+
+ Last updated:{" "}
+ {controller.params.lastUpdatedAt ? (
+
+ ) : (
+ "Seem rq scheduler no running"
+ )}
+
{!controller.isLoaded && }
{controller.isLoaded && controller.isEmpty && (
diff --git a/redash/handlers/admin.py b/redash/handlers/admin.py
index 753494d341..ad6d5d1b26 100644
--- a/redash/handlers/admin.py
+++ b/redash/handlers/admin.py
@@ -36,7 +36,7 @@ def outdated_queries():
"queries": QuerySerializer(
outdated_queries, with_stats=True, with_last_modified_by=False
).serialize(),
- "updated_at": manager_status["last_refresh_at"],
+ "updated_at": manager_status.get("last_refresh_at", None),
}
return json_response(response)