Skip to content

Commit

Permalink
Suppress warnings when masking sensitive confs (#43335) (#43337)
Browse files Browse the repository at this point in the history
This is to prevent issues such as #43334

(cherry picked from commit 0a9c3c0)

---------

Co-authored-by: Amogh Desai <[email protected]>
Co-authored-by: Kaxil Naik <[email protected]>
  • Loading branch information
3 people authored Oct 24, 2024
1 parent e97d2b1 commit 854b8de
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 @@ -856,7 +856,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 854b8de

Please sign in to comment.