From 78fabde36213d6ef5691dbfc3b6bd73898daa0f1 Mon Sep 17 00:00:00 2001 From: Vincenzo Scamporlino Date: Mon, 22 Jan 2024 10:05:16 +0100 Subject: [PATCH] core-compat-api: add link todo Signed-off-by: Vincenzo Scamporlino --- packages/core-compat-api/src/collectLegacyRoutes.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core-compat-api/src/collectLegacyRoutes.tsx b/packages/core-compat-api/src/collectLegacyRoutes.tsx index f164b400bd..53fe477769 100644 --- a/packages/core-compat-api/src/collectLegacyRoutes.tsx +++ b/packages/core-compat-api/src/collectLegacyRoutes.tsx @@ -194,7 +194,8 @@ export function collectLegacyRoutes( ); if (!plugin) { throw new Error( - `Route with path ${path} has en element that can not be converted as it does not belong to a plugin. Make sure that the top-level React element of the element prop is an extension from a Backstage plugin, or remove the Route completely. See for more info`, + // TODO(vinzscam): add See for more info + `Route with path ${path} has en element that can not be converted as it does not belong to a plugin. Make sure that the top-level React element of the element prop is an extension from a Backstage plugin, or remove the Route completely.`, ); } if (path === undefined) {