fix: Log detailed error in getConnectedCalendar (#25338)
* Log error * Reverse sent error message changes --------- Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
1 parent
5ddfbcf225
commit
0605572969
1 file changed
+1
-2
@@ -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