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>
This commit is contained in:
co-authored by
Anik Dhabal Babu
parent
5ddfbcf225
commit
0605572969
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user