Skip to content

Commit

Permalink
chore: ignore preset plugin installation errors to avoid initializati…
Browse files Browse the repository at this point in the history
…on failure (#6855)

#### What type of PR is this?
/milestone 2.20.x
/area core
/milestone 2.20.x

#### What this PR does / why we need it:
忽略预设插件安装时的错误避免无法初始化

可能因为没有预先 download 预设插件到项目目录而发生 IO 异常影响初始化流程

#### Does this PR introduce a user-facing change?

```release-note
None
```
  • Loading branch information
guqing authored Oct 13, 2024
1 parent 3bdec9e commit 5848868
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,8 @@ private Flux<Path> getPresetJars() {
return path;
});
} catch (IOException e) {
return Flux.error(e);
log.debug("Failed to load preset plugins: {}", e.getMessage());
return Flux.empty();
}
}

Expand Down

0 comments on commit 5848868

Please sign in to comment.