bugfix: 对话中断排查日志添加;

This commit is contained in:
shahaibo
2025-06-20 16:27:27 +08:00
parent 424f9a126d
commit b287ec8529
2 changed files with 4 additions and 1 deletions

View File

@@ -387,7 +387,8 @@ public class LLMServiceImpl implements LLMService {
}
emitter.complete();
} catch (Exception e) {
System.out.println("走进异常");
System.out.println("走进异常: " + e.getMessage());
e.printStackTrace(); // 详细栈信息
emitter.completeWithError(e);
}
});

View File

@@ -1141,6 +1141,8 @@ public class UserLikeGroupServiceImpl extends ServiceImpl<UserLikeGroupMapper, U
ToProductImageResult toProductImageResult1 = toProductImageResultMapper.selectById(toProductImageResult.getElementId());
magicToolResultVO.setSourceUrl(minioUtil.getPreSignedUrl(toProductImageResult1.getUrl(), 24 * 60));
}
Long parentId = getParentIdByElementIdAndElementType(toProductImageResult.getElementId(), toProductImageResult.getElementType());
magicToolResultVO.setParentId(parentId);
}
} else if (Objects.isNull(magicToolResultVO)) {
magicToolResultVO = new MagicToolResultVO();