This commit is contained in:
hannathkadher
2025-03-11 22:31:14 +04:00
parent 5c47a3195f
commit 67a78dbdfd

View File

@ -40,7 +40,7 @@ export class PropogateUpdateSpaceModelHandler
async execute(command: PropogateUpdateSpaceModelCommand): Promise<void> {
const { subspaceModels, spaces } = command.param;
try {
if (!subspaceModels || subspaceModels.length === 0) return;
if (!spaces || spaces.length === 0) return;
@ -53,6 +53,9 @@ export class PropogateUpdateSpaceModelHandler
await this.updateSubspaceModel(subspaceModel);
}
}
} catch (error) {
console.error(`Error processing subspaceModel updates`, error);
}
}
async addSubspaceModel(