generate 日志打印
This commit is contained in:
@@ -58,7 +58,7 @@ public class AsyncCallerUtil {
|
|||||||
return null;
|
return null;
|
||||||
} catch (InterruptedException | ExecutionException | BusinessException e) {
|
} catch (InterruptedException | ExecutionException | BusinessException e) {
|
||||||
// 处理异常
|
// 处理异常
|
||||||
log.error("发生错误 : " + e);
|
log.error("发生错误 : " + e, e);
|
||||||
// 取消定时任务
|
// 取消定时任务
|
||||||
assert timeoutTask != null;
|
assert timeoutTask != null;
|
||||||
timeoutTask.cancel(true);
|
timeoutTask.cancel(true);
|
||||||
|
|||||||
@@ -2295,6 +2295,7 @@ public class PythonService {
|
|||||||
Boolean result = JSON.parseObject(JSON.toJSONString(response)).getBoolean("successful");
|
Boolean result = JSON.parseObject(JSON.toJSONString(response)).getBoolean("successful");
|
||||||
|
|
||||||
if (result && jsonObject.get("code").equals(200)) {
|
if (result && jsonObject.get("code").equals(200)) {
|
||||||
|
log.info("Generate##responseObject###{}", jsonObject);
|
||||||
return setGenerateImageList(jsonObject.getJSONObject("data"));
|
return setGenerateImageList(jsonObject.getJSONObject("data"));
|
||||||
}
|
}
|
||||||
log.info("generateSketchOrPrintPrint失败###{}", jsonObject);
|
log.info("generateSketchOrPrintPrint失败###{}", jsonObject);
|
||||||
|
|||||||
Reference in New Issue
Block a user