Disable broken calendar email (#3946)
* Disable broken calendar email * Add comment * Apply suggestions from code review Co-authored-by: alannnc <[email protected]> * Apply suggestions from code review Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Omar López <[email protected]> Co-authored-by: alannnc <[email protected]>
This commit is contained in:
1 file changed
+7
-2
@@ -170,8 +170,11 @@ export const createEvent = async (
|
||||
if (error?.code === 404) {
|
||||
return undefined;
|
||||
}
|
||||
await sendBrokenIntegrationEmail(calEvent, "calendar");
|
||||
log.error("createEvent failed", error, calEvent);
|
||||
// @TODO: This code will be off till we can investigate an error with it
|
||||
//https://github.com/calcom/cal.com/issues/3949
|
||||
// await sendBrokenIntegrationEmail(calEvent, "calendar");
|
||||
https: log.error("createEvent failed", error, calEvent);
|
||||
return undefined;
|
||||
})
|
||||
: undefined;
|
||||
@@ -206,7 +209,9 @@ export const updateEvent = async (
|
||||
return event;
|
||||
})
|
||||
.catch(async (e) => {
|
||||
await sendBrokenIntegrationEmail(calEvent, "calendar");
|
||||
// @TODO: This code will be off till we can investigate an error with it
|
||||
// @see https://github.com/calcom/cal.com/issues/3949
|
||||
// await sendBrokenIntegrationEmail(calEvent, "calendar");
|
||||
log.error("updateEvent failed", e, calEvent);
|
||||
return undefined;
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user