Skip to content

Commit

Permalink
Merge pull request #23625 from radcortez/fix-23573
Browse files Browse the repository at this point in the history
Improved warning message when a build time configuration changes in runtime
  • Loading branch information
geoand committed Feb 21, 2022
2 parents 39f9d05 + f2f37f8 commit 5137bb9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public void handleConfigChange(Map<String, String> buildTimeConfig) {
if (mismatches == null) {
mismatches = new ArrayList<>();
}
mismatches.add(
" - " + entry.getKey() + " was '" + entry.getValue() + "' at build time and is now '" + val.get()
+ "'");
mismatches.add(" - " + entry.getKey() + " is set to '" + entry.getValue()
+ "' but it is build time fixed to '" + val.get() + "'. Did you change the property "
+ entry.getKey() + " after building the application?");
}
}
}
Expand Down

0 comments on commit 5137bb9

Please sign in to comment.