Skip to content
Snippets Groups Projects
Commit bd24db4f authored by ale's avatar ale
Browse files

Posticipate tracing setup

parent 8f6959c0
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,6 @@ DEFAULT_LANGUAGES = [
def init_app(app, talisman):
"""Initialize the Flask application."""
setup_tracing(app, app.import_name)
talisman.init_app(
app,
frame_options=DENY,
......@@ -46,6 +44,8 @@ def init_app(app, talisman):
app.config['SUPPORTED_LANGUAGES_ISO'] = [
x[0] for x in app.config['SUPPORTED_LANGUAGES']]
setup_tracing(app, app.import_name)
# Autodetect language as best as we can, by retrieving it in order
# from either:
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment