From 06055729692e4e6df0f1684d94158b75ac7c02bb Mon Sep 17 00:00:00 2001 From: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> Date: Wed, 3 Dec 2025 14:51:51 -0500 Subject: [PATCH] fix: Log detailed error in `getConnectedCalendar` (#25338) * Log error * Reverse sent error message changes --------- Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> --- packages/features/calendars/lib/CalendarManager.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/features/calendars/lib/CalendarManager.ts b/packages/features/calendars/lib/CalendarManager.ts index 9ee0968a04..0ef5fc1ffe 100644 --- a/packages/features/calendars/lib/CalendarManager.ts +++ b/packages/features/calendars/lib/CalendarManager.ts @@ -1,4 +1,3 @@ - import { sortBy } from "lodash"; import { getCalendar } from "@calcom/app-store/_utils/getCalendar"; @@ -135,7 +134,7 @@ export const getConnectedCalendars = async ( errorMessage = error.message; } - log.error("getConnectedCalendars failed", errorMessage, safeStringify({ item })); + log.error("getConnectedCalendars failed", error, safeStringify({ credentialId: item.credential.id })); return { integration: cleanIntegrationKeys(item.integration),