Commit 49c60c29 authored by renjie's avatar renjie

健康检查bug

parent 8d9e4aae
......@@ -93,7 +93,7 @@ public class Trans {
}
br.close();
}
return sb.toString();
} catch (ClientProtocolException e) {
NotifyUtils.sendMessage("防关联浏览器 ip " + host + " 代理异常", e, NotifyUtils.MsgType.WEBHOOK);
logger.error(e.getMessage(), e);
......@@ -102,11 +102,10 @@ public class Trans {
NotifyUtils.sendMessage("防关联浏览器 ip " + host + " 代理异常", e, NotifyUtils.MsgType.WEBHOOK);
logger.error(e.getMessage(), e);
return "";
} catch (Exception e) {
NotifyUtils.sendMessage("防关联浏览器 ip " + host + " 代理异常", e, NotifyUtils.MsgType.WEBHOOK);
logger.error(e.getMessage(), e);
return "";
} finally {
httpGet.releaseConnection();
NotifyUtils.sendMessage("防关联浏览器 ip " + host + " 代理超时", NotifyUtils.MsgType.WEBHOOK);
}
return sb.toString();
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment