From 5fec2810d2984bdaf40912d68d749b0b287e7f49 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 7 Oct 2024 21:49:47 +1100 Subject: [PATCH] Improved error message --- src/frontend/src/components/plugins/PluginSource.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/plugins/PluginSource.tsx b/src/frontend/src/components/plugins/PluginSource.tsx index 69239866e38..580496fbf6a 100644 --- a/src/frontend/src/components/plugins/PluginSource.tsx +++ b/src/frontend/src/components/plugins/PluginSource.tsx @@ -20,7 +20,7 @@ export async function loadExternalPluginSource(source: string) { const module = await import(/* @vite-ignore */ source) .catch((error) => { - console.error('Failed to load plugin source:', error); + console.error(`ERR: Failed to load plugin from ${source}:`, error); return null; }) .then((module) => {