Skip to content

Commit

Permalink
fix(typer): do not log locals
Browse files Browse the repository at this point in the history
Do not log locals as they may expose secrets, which is a security risk.

Signed-off-by: Martin Basti <[email protected]>
  • Loading branch information
MartinBasti committed Nov 19, 2024
1 parent 6ee35b9 commit d6638e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cachi2/interface/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from cachi2.core.rooted_path import RootedPath
from cachi2.interface.logging import LogLevel, setup_logging

app = typer.Typer(no_args_is_help=True)
app = typer.Typer(no_args_is_help=True, pretty_exceptions_show_locals=False)
log = logging.getLogger(__name__)

DEFAULT_SOURCE = "."
Expand Down

0 comments on commit d6638e5

Please sign in to comment.