| | |
| | | beatResult = executorBiz.beat(); |
| | | } catch (Exception e) { |
| | | logger.error(e.getMessage(), e); |
| | | beatResult = new ReturnT<String>(ReturnT.FAIL_CODE, ""+e ); |
| | | beatResult = new ReturnT<String>(ReturnT.FAIL_CODE, "" + e); |
| | | } |
| | | beatResultSB.append( (beatResultSB.length()>0)?"<br><br>":"") |
| | | .append(I18nUtil.getString("jobconf_beat") + ":") |
| | | .append("<br>address:").append(address) |
| | | .append("<br>code:").append(beatResult.getCode()) |
| | | .append("<br>msg:").append(beatResult.getMsg()); |
| | | beatResultSB.append((beatResultSB.length() > 0) ? "<br><br>" : "") |
| | | .append(I18nUtil.getString("jobconf_beat") + ":") |
| | | .append("<br>address:").append(address) |
| | | .append("<br>code:").append(beatResult.getCode()) |
| | | .append("<br>msg:").append(beatResult.getMsg()); |
| | | |
| | | // beat success |
| | | if (beatResult.getCode() == ReturnT.SUCCESS_CODE) { |