fix:修复复刻失败的问题

This commit is contained in:
3030332422
2025-10-17 15:56:33 +08:00
parent 008456d7cd
commit f8b1e8199c
2 changed files with 3 additions and 9 deletions
@@ -257,14 +257,11 @@ public class VoiceCloneServiceImpl extends BaseServiceImpl<VoiceCloneDao, VoiceC
if (type.equals("huoshan_double_stream")) {
huoshanClone(config, entity);
}
} catch (RenException re) {
throw re;
} catch (Exception e) {
e.printStackTrace();
entity.setTrainStatus(3);
entity.setTrainError(e.getMessage());
baseDao.updateById(entity);
throw new RenException(ErrorCode.VOICE_CLONE_TRAINING_FAILED, e.getMessage());
}
}