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

Hanging string #209

Closed
fcollonval opened this issue Sep 14, 2021 · 0 comments · Fixed by #210
Closed

Hanging string #209

fcollonval opened this issue Sep 14, 2021 · 0 comments · Fixed by #210

Comments

@fcollonval
Copy link
Member

fcollonval commented Sep 14, 2021

@telamonian Should this be wrapped in self.log.warn? Is it needed to handle the error here even with the handling of the error within get_current_locale?

try:
locale = self.get_current_locale()
except web.HTTPError as e:
# fallback in case of missing (404) or misshapen (500) translation schema
locale = DEFAULT_LOCALE
'Failed loading or validating translation settings schema'

Originally posted by @fcollonval in #207 (comment)

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 a pull request may close this issue.

1 participant