Skip to content

Commit

Permalink
chore(validate_locale_configuration): downgrade "missing locale" mess…
Browse files Browse the repository at this point in the history
…age from error to warning

---primarily to avoid triggering OSSEC alerts.
  • Loading branch information
cfm committed Feb 21, 2025
1 parent ef98aa0 commit e50ead6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion securedrop/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def validate_locale_configuration(config: SecureDropConfig, babel: Babel) -> Set

missing = configured - usable
if missing:
babel.app.logger.error(
babel.app.logger.warning(
f"Configured locales {missing} are not in the set of usable locales {usable}"
)

Expand Down

0 comments on commit e50ead6

Please sign in to comment.