From c736657ffea633e2b74947bc4d3c07687e0319c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Tr=C3=A1vn=C3=ADk?= Date: Mon, 1 Dec 2025 16:59:59 +0100 Subject: [PATCH] Error logging on repositories export failure Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- app/server/modules/lifecycle/config-export.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server/modules/lifecycle/config-export.controller.ts b/app/server/modules/lifecycle/config-export.controller.ts index cae50714..23bf7382 100644 --- a/app/server/modules/lifecycle/config-export.controller.ts +++ b/app/server/modules/lifecycle/config-export.controller.ts @@ -318,7 +318,7 @@ export const configExportController = new Hono() return c.json({ repositories: await exportEntities(result.data, params) }); } catch (err) { logger.error(`Repositories export failed: ${err instanceof Error ? err.message : String(err)}`); - return c.json({ error: "Failed to export repositories" }, 500); + return c.json({ error: `Failed to export repositories: ${err instanceof Error ? err.message : String(err)}` }, 500); } }) .get("/export/notification-destinations", async (c) => {