Skip to content

Commit

Permalink
Make tracebacks opt-in (#27059)
Browse files Browse the repository at this point in the history
Instead of showing tracebacks by default, make the end user opt-in instead.
  • Loading branch information
jedcunningham committed Oct 14, 2022
1 parent e58e424 commit 4b113ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/config_templates/config.yml
Expand Up @@ -1232,7 +1232,7 @@
version_added: 1.10.8
type: string
example: ~
default: "True"
default: "False"
- name: dag_default_view
description: |
Default DAG view. Valid values are: ``grid``, ``graph``, ``duration``, ``gantt``, ``landing_times``
Expand Down
2 changes: 1 addition & 1 deletion airflow/config_templates/default_airflow.cfg
Expand Up @@ -631,7 +631,7 @@ expose_config = False
expose_hostname = True

# Expose stacktrace in the web server
expose_stacktrace = True
expose_stacktrace = False

# Default DAG view. Valid values are: ``grid``, ``graph``, ``duration``, ``gantt``, ``landing_times``
dag_default_view = grid
Expand Down
3 changes: 3 additions & 0 deletions newsfragments/000.significant.rst
@@ -0,0 +1,3 @@
Default for ``[webserver] expose_stacktrace`` changed to ``False``

The default for ``[webserver] expose_stacktrace`` has been set to ``False``, instead of ``True``. This means administrators must opt-in to expose tracebacks to end users.

0 comments on commit 4b113ef

Please sign in to comment.