mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 08:44:54 +00:00
error
This commit is contained in:
@ -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(
|
||||
|
||||
Reference in New Issue
Block a user