Skip to content

Commit

Permalink
Correctly log when there are problems trying to chmod airflow.cfg (ap…
Browse files Browse the repository at this point in the history
…ache#33118)

Without this change log gives us a big warning/stack trace about
"TypeError: not all arguments converted during string formatting".
  • Loading branch information
ashb authored Aug 4, 2023
1 parent 108a07b commit af08392
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 @@ -2054,7 +2054,7 @@ def make_group_other_inaccessible(file_path: str):
except Exception as e:
log.warning(
"Could not change permissions of config file to be group/other inaccessible. "
"Continuing with original permissions:",
"Continuing with original permissions: %s",
e,
)

Expand Down

0 comments on commit af08392

Please sign in to comment.