Actually return (don't just log) if no scheduledJobs table in instance

This commit is contained in:
2025-06-13 15:39:12 -05:00
parent 1fb509fea1
commit 7b190d810a

View File

@ -164,6 +164,7 @@ public class BaseSyncToScheduledJobTableCustomizer implements TableCustomizerInt
if(QContext.getQInstance().getTable(ScheduledJob.TABLE_NAME) == null)
{
LOG.info("ScheduledJob table not found, skipping scheduled job sync.");
return;
}
String primaryKeyField = QContext.getQInstance().getTable(tableName).getPrimaryKeyField();
@ -205,6 +206,7 @@ public class BaseSyncToScheduledJobTableCustomizer implements TableCustomizerInt
if(QContext.getQInstance().getTable(ScheduledJob.TABLE_NAME) == null)
{
LOG.info("ScheduledJob table not found, skipping scheduled job delete.");
return;
}
List<String> sourceRecordIds = records.stream()