日志打印优化
This commit is contained in:
@@ -990,11 +990,11 @@ public class StockService {
|
|||||||
vo1.setKLine(kine);
|
vo1.setKLine(kine);
|
||||||
indexVoList.add(vo1);
|
indexVoList.add(vo1);
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.info("BToday获取BSESENSEX指数数据异常,异常信息。。。。", e);
|
log.error("BToday获取BSESENSEX指数数据异常,异常信息。。。。", e);
|
||||||
try {
|
try {
|
||||||
GrowwInApis.requestSenSexData(indexVoList);
|
GrowwInApis.requestSenSexData(indexVoList);
|
||||||
} catch (Exception e1) {
|
} catch (Exception e1) {
|
||||||
log.info("GrowwIn获取BSESENSEX指数数据异常,异常信息。。。。", e1);
|
log.error("GrowwIn获取BSESENSEX指数数据异常,异常信息。。。。", e1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1015,11 +1015,11 @@ public class StockService {
|
|||||||
vo1.setKLine(kine);
|
vo1.setKLine(kine);
|
||||||
indexVoList.add(vo1);
|
indexVoList.add(vo1);
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.info("BToday获取NIFTY50指数数据异常,异常信息。。。。", e);
|
log.error("BToday获取NIFTY50指数数据异常,异常信息。。。。", e);
|
||||||
try {
|
try {
|
||||||
GrowwInApis.requestNifty50Data(indexVoList);
|
GrowwInApis.requestNifty50Data(indexVoList);
|
||||||
} catch (Exception e1) {
|
} catch (Exception e1) {
|
||||||
log.info("GrowwIn获取NIFTY50指数数据异常,异常信息。。。。", e1);
|
log.error("GrowwIn获取NIFTY50指数数据异常,异常信息。。。。", e1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ServerResponse.createBySuccess(indexVoList);
|
return ServerResponse.createBySuccess(indexVoList);
|
||||||
|
|||||||
Reference in New Issue
Block a user