Skip to content

Commit

Permalink
fix: disable SHOW_STACKTRACE by default (#24137)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar authored and eschutho committed Jun 6, 2023
1 parent 76856d0 commit a2bed3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ def _try_json_readsha(filepath: str, length: int) -> Optional[str]:
PROFILING = False

# Superset allows server-side python stacktraces to be surfaced to the
# user when this feature is on. This may has security implications
# user when this feature is on. This may have security implications
# and it's more secure to turn it off in production settings.
SHOW_STACKTRACE = True
SHOW_STACKTRACE = False

# Use all X-Forwarded headers when ENABLE_PROXY_FIX is True.
# When proxying to a different port, set "x_port" to 0 to avoid downstream issues.
Expand Down

0 comments on commit a2bed3f

Please sign in to comment.