Skip to content

Commit 9e4d244

Browse files
committed
fix detail task may failed by log file expired
1 parent 35ac0d6 commit 9e4d244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/odc-service/src/main/java/com/oceanbase/odc/service/flow/FlowTaskInstanceService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ private void setDownloadUrlsIfNecessary(Long taskId, List<? extends FlowTaskResu
804804
private TaskDownloadUrls getTaskDownloadUrls(Long taskId) {
805805
try {
806806
return databaseChangeOssUrlCache.get(taskId);
807-
} catch (Exception e) {
807+
} catch (NotFoundException e) {
808808
log.warn("Failed to retrieve task download urls from cloud object storage, taskId={}", taskId, e);
809809
return null;
810810
}

0 commit comments

Comments
 (0)