Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix/get language cookie- fix sentry errors "UnknownLocaleError locale" #170

Merged
merged 7 commits into from
Oct 17, 2024

Conversation

NarenderRajuB
Copy link
Contributor

set default language to "en" if language passed in cookie is non supported in FSD.

Change description

  • Unit tests and other appropriate tests added or updated
  • [ x] README.md, CHANGELOG.md and other documentation has been updated / added (if needed)
  • Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

Manually tested replicating error setting cookie no non-supporting language

image

Copy link
Contributor

@nuwan-samarasinghe nuwan-samarasinghe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

hamzabinkhalid
hamzabinkhalid previously approved these changes Oct 16, 2024
Copy link
Contributor

@hamzabinkhalid hamzabinkhalid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

fsd_utils/locale_selector/get_lang.py Outdated Show resolved Hide resolved
@NarenderRajuB NarenderRajuB merged commit a778337 into main Oct 17, 2024
6 checks passed
@NarenderRajuB NarenderRajuB deleted the bugfix/get-language-cookie branch October 17, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants