diff --git a/plugins/catalog/src/components/EntityLayout/EntityLayout.tsx b/plugins/catalog/src/components/EntityLayout/EntityLayout.tsx index f76690c010..693137fe21 100644 --- a/plugins/catalog/src/components/EntityLayout/EntityLayout.tsx +++ b/plugins/catalog/src/components/EntityLayout/EntityLayout.tsx @@ -260,6 +260,12 @@ export const EntityLayout = (props: EntityLayoutProps) => { {entity && } {error && ( + + {error.toString()} + + )} + + {!loading && !error && !entity && ( {NotFoundComponent ? ( NotFoundComponent @@ -275,18 +281,6 @@ export const EntityLayout = (props: EntityLayoutProps) => { )} - {!loading && !error && !entity && ( - - - There is no {kind} with the requested{' '} - - kind, namespace, and name - - . - - - )} -