Modifier la gestion des erreurs lors de la création de vidéos et commenter le code de test associé

This commit is contained in:
2025-02-12 14:04:28 +01:00
parent 2450359710
commit dcbf2a1f00
2 changed files with 15 additions and 15 deletions

View File

@@ -69,7 +69,7 @@ async function createVideoWithList(projectId, pathList) {
return outputVideo;
} catch (error) {
console.error('Error creating video:', error);
serverError(error);
serverError.sendError(error);
} finally {
// Supprimer le fichier temporaire
if (fs.existsSync(tempFile)) {