Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
entropy-cloud committed Sep 6, 2024
1 parent 45133df commit ecee0ef
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,11 @@ public IConfigSource getConfigSource(IConfigSource baseSource, String dataId) {
@Override
public void publishConfig(String dataId, String group, String content) {
ConfigType type = getConfigType(dataId);
configService.publishConfig(dataId, group, content, type.getType());
try {
configService.publishConfig(dataId, group, content, type.getType());
} catch (Exception e) {
throw NopException.adapt(e);
}
}

private ConfigType getConfigType(String dataId) {
Expand Down

0 comments on commit ecee0ef

Please sign in to comment.