Skip to content

Commit

Permalink
fix(core): ignore configuration errors due to classloader mismatch in…
Browse files Browse the repository at this point in the history
… the quarkusBuild task
  • Loading branch information
roguexz committed Nov 5, 2021
1 parent 4576c99 commit c173ae0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import java.util.List;
import java.util.Optional;
import java.util.Properties;
import java.util.ServiceConfigurationError;
import java.util.Set;
import java.util.function.Consumer;

Expand Down Expand Up @@ -173,6 +174,8 @@ public BuildResult run() throws Exception {
.releaseConfig(ConfigProviderResolver.instance().getConfig(deploymentClassLoader));
} catch (Exception ignore) {

} catch (ServiceConfigurationError ignore) {

}
if (deploymentClassLoader instanceof Closeable) {
((Closeable) deploymentClassLoader).close();
Expand Down

0 comments on commit c173ae0

Please sign in to comment.