upgrade command patch - warn instead of throw when no calendarEvent object found in the workspace (#21258)
This commit is contained in:
+4
-2
@@ -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 } =
|
||||
|
||||
Reference in New Issue
Block a user