diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java index 5bfe0cf1bf1a82..559094de4425de 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java +++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java @@ -5560,6 +5560,7 @@ public String dumpImage() { saveImage(dumpFile, journalId); } catch (IOException e) { LOG.error("failed to dump image to {}", dumpFilePath, e); + return null; } } finally { // unlock all