Authored by jack

Revert "增加异常捕获范围"

This reverts commit 0037030f.
... ... @@ -62,12 +62,10 @@ public class TwemproxyTask extends Task {
twemproxyInfo = new TwemproxyInfo(this.getIp(), this.getPort(), info);
} catch (Exception e) {
} catch (IOException e) {
this.getAlarmMsgService().sendSms("Twemproxy", "Failed to query Twemproxy " + this.getUrl() + " monitor info.", this.getSnsMobileConfig().getBaseMobile());
DEBUG.error("Failed to query twemproxy {} info ... error {}", this.getUrl(), e);
return;
}
... ... @@ -140,7 +138,7 @@ public class TwemproxyTask extends Task {
for (Map.Entry<String, Long> entry : twemproxyInfo.getRequestMap().entrySet()) {
taskService.submit(new RedisTask(entry.getKey(), entry.getValue(), this.getUrl(), this.getAlarmMsgService(), this.getSnsMobileConfig()));
taskService.submit(new RedisTask(entry.getKey(), entry.getValue(),this.getUrl(), this.getAlarmMsgService(), this.getSnsMobileConfig()));
}
taskService.shutdown();
... ...