排查测试无异常,正式站访问异常问题

develop
PL 4 months ago
parent ccda6b3c12
commit cf1d4cbf30

@ -81,6 +81,7 @@ public class ChatMessageServiceImpl implements ChatMessageService {
if (!StringUtils.isEmpty(text)) { if (!StringUtils.isEmpty(text)) {
chatCommentsDto.setText(text); chatCommentsDto.setText(text);
} else { } else {
log.info("参数错误");
throw new ServiceException(ErrorCode.PARAMS_ERROR.getCode(), "参数错误"); throw new ServiceException(ErrorCode.PARAMS_ERROR.getCode(), "参数错误");
} }
@ -96,7 +97,8 @@ public class ChatMessageServiceImpl implements ChatMessageService {
} }
return sseEmitter; return sseEmitter;
} catch (Exception e) { } catch (Exception e) {
throw new ServiceException(ErrorCode.OPERATION_ERROR.getCode(), e.getMessage()); log.info(e.getStackTrace().toString());
throw new ServiceException(ErrorCode.OPERATION_ERROR.getCode(), e.getStackTrace().toString());
} }
} }

Loading…
Cancel
Save