完善重试日志
This commit is contained in:
parent
c7d79b48ab
commit
5f16ba0371
@ -137,7 +137,7 @@ public class WvpService {
|
||||
log.error(reason);
|
||||
writeErrorToResponse(asyncResponse, JsonResponse.error(reason));
|
||||
} catch (Exception e) {
|
||||
String reason = MessageFormat.format("调用 wvp api 查询设备: {0} 历史失败, 异常: {2}", deviceCode, e.getMessage());
|
||||
String reason = MessageFormat.format("调用 wvp api 查询设备: {0} 历史失败, 异常: {1}", deviceCode, e.getMessage());
|
||||
writeErrorToResponse(asyncResponse, JsonResponse.error(reason));
|
||||
} finally {
|
||||
asyncContext.complete();
|
||||
|
Loading…
Reference in New Issue
Block a user