Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: George Gastaldi <[email protected]>
  • Loading branch information
aloubyansky and gastaldi authored Feb 28, 2024
1 parent 61812e5 commit 2fbf6d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class BootstrapConfig {

/**
* If set to true, workspace loader will log warnings for modules that could not be loaded for some reason
* instead of throwing errors..
* instead of throwing errors.
*/
@ConfigItem(defaultValue = "false")
boolean warnOnFailingWorkspaceModules;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ LocalProject load() throws BootstrapMavenException {
project = new LocalProject(modelBuilder.build(req), workspace);
} catch (Exception e) {
if (warnOnFailingWsModules) {
log.warn("Failed to resolve effective model for " + rawModel.getPomFile() + ": " + e);
log.warn("Failed to resolve effective model for " + rawModel.getPomFile(), e);
return;
}
throw new RuntimeException("Failed to resolve the effective model for " + rawModel.getPomFile(), e);
Expand Down

0 comments on commit 2fbf6d8

Please sign in to comment.