fixed issues in create space model

This commit is contained in:
hannathkadher
2025-03-04 00:44:22 +04:00
parent b4c3ee486e
commit d059171b72
6 changed files with 102 additions and 70 deletions
+1 -5
View File
@@ -135,15 +135,11 @@ export class TagService {
return tag;
} catch (error) {
console.error(
`Error moving tag with UUID ${tagDto.uuid}: ${error.message}`,
);
throw error; // Re-throw the error to propagate it to the parent Promise.all
throw error;
}
}),
);
} catch (error) {
console.error(`Error in moveTags: ${error.message}`);
throw new HttpException(
`Failed to move tags due to an unexpected error: ${error.message}`,
HttpStatus.INTERNAL_SERVER_ERROR,