Disable broken calendar email (#3946)
* Disable broken calendar email * Add comment * Apply suggestions from code review Co-authored-by: alannnc <alannnc@gmail.com> * Apply suggestions from code review Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Omar López <zomars@me.com> Co-authored-by: alannnc <alannnc@gmail.com>
This commit is contained in:
co-authored by
alannnc
Peer Richelsen
kodiakhq[bot]
Omar López
parent
006badc3b5
commit
fac99c3e9b
@@ -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