MCPcopy Create free account
hub / github.com/Jarrettluo/all-docs / failed

Method failed

src/main/java/com/jiaruiblog/task/thread/MainTask.java:64–71  ·  view source on GitHub ↗
(Throwable throwable)

Source from the content-addressed store, hash-verified

62 }
63
64 @Override
65 public void failed(Throwable throwable) {
66 log.error("解析文件报错啦", throwable);
67 String errorMsg = throwable.getMessage();
68 taskData.getFileDocument().setDocState(DocStateEnum.FAIL);
69 taskData.getFileDocument().setErrorMsg(errorMsg +" " + throwable.getCause());
70 updateTaskStatus();
71 }
72
73 @Override
74 public void run() {

Callers

nothing calls this directly

Calls 3

updateTaskStatusMethod · 0.95
errorMethod · 0.80
getMessageMethod · 0.80

Tested by

no test coverage detected