Skip to content

Commit

Permalink
Suppress warnings when masking sensitive confs
Browse files Browse the repository at this point in the history
This is to prevent issues such as apache#43334
  • Loading branch information
kaxil committed Oct 23, 2024
1 parent 305be09 commit 1d260a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def mask_secrets(self):

for section, key in self.sensitive_config_values:
try:
value = self.get(section, key)
value = self.get(section, key, suppress_warnings=True)
except AirflowConfigException:
log.debug(
"Could not retrieve value from section %s, for key %s. Skipping redaction of this conf.",
Expand Down

0 comments on commit 1d260a2

Please sign in to comment.