upgrade command patch - warn instead of throw when no calendarEvent object found in the workspace (#21258)

This commit is contained in:
nitin
2026-06-05 20:02:16 +05:30
committed by GitHub
parent e485b679ea
commit f72898063a
@@ -144,9 +144,11 @@ export class SyncCallRecordingStandardObjectsCommand extends ActiveOrSuspendedWo
];
if (!isDefined(calendarEventObjectMetadata)) {
throw new Error(
`calendarEvent object not found for workspace ${workspaceId}`,
this.logger.warn(
`calendarEvent object not found for workspace ${workspaceId}, skipping CallRecording standard metadata sync`,
);
return;
}
const { twentyStandardFlatApplication } =