diff --git a/frontend/src/queries/nodes/DataNode/dataNodeLogic.ts b/frontend/src/queries/nodes/DataNode/dataNodeLogic.ts index 950a54ea4b918..bdc9e9cb8b8a0 100644 --- a/frontend/src/queries/nodes/DataNode/dataNodeLogic.ts +++ b/frontend/src/queries/nodes/DataNode/dataNodeLogic.ts @@ -342,7 +342,7 @@ export const dataNodeLogic = kea([ } return error ?? 'Error loading data' }, - loadDataSuccess: () => null, + loadDataSuccess: (_, { response }) => response?.error ?? null, }, ], elapsedTime: [