Skip to content

Commit 3377289

Browse files
committed
FE: Ignore expected 404 on topic statistics page (#3964)
(cherry picked from commit b9bbb1a)
1 parent 8727393 commit 3377289

File tree

1 file changed

+5
-0
lines changed
  • kafka-ui-react-app/src/lib/hooks/api

1 file changed

+5
-0
lines changed

kafka-ui-react-app/src/lib/hooks/api/topics.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ export function useTopicAnalysis(
304304
useErrorBoundary: true,
305305
retry: false,
306306
suspense: false,
307+
onError: (error: Response) => {
308+
if (error.status !== 404) {
309+
showServerError(error as Response);
310+
}
311+
},
307312
}
308313
);
309314
}

0 commit comments

Comments
 (0)