完善重试日志

This commit is contained in:
shikong 2023-09-09 23:13:23 +08:00
parent c7d79b48ab
commit 5f16ba0371

View File

@ -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();