Skip to content

Commit

Permalink
add log retention to 1 month
Browse files Browse the repository at this point in the history
  • Loading branch information
docwho2 committed Nov 18, 2023
1 parent b9191eb commit 4623c2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ static Environment makeEnv(String accountId, String region) {

static String getParamOrDefault(App app, String param, String defaultValue) {
final var val = (String) app.getNode().tryGetContext(param);
return val.isBlank() ? defaultValue : val;
return val == null || val.isBlank() ? defaultValue : val;
}

static void requireNonEmpty(String string, String message) {
Expand Down

0 comments on commit 4623c2a

Please sign in to comment.