Log info refine

This commit is contained in:
walking98
2019-04-19 16:33:56 +08:00
parent 61b74f066d
commit 5c61fabf75

View File

@@ -147,7 +147,7 @@ public class DashboardCollectServiceImpl implements DashboardCollectService {
String dataLocationPath = rmqConfigure.getConsoleCollectData(); String dataLocationPath = rmqConfigure.getConsoleCollectData();
File file = new File(dataLocationPath + date + "_topic" + ".json"); File file = new File(dataLocationPath + date + "_topic" + ".json");
if (!file.exists()) { if (!file.exists()) {
log.info(String.format("No dashboard data for data: %s", date); log.info(String.format("No dashboard data for data: %s", date));
//throw Throwables.propagate(new ServiceException(1, "This date have't data!")); //throw Throwables.propagate(new ServiceException(1, "This date have't data!"));
return Maps.newHashMap(); return Maps.newHashMap();
} }