From d6638e5e14474061a1ab1ba5d0ee72f58b9a11a9 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Mon, 18 Nov 2024 14:00:08 +0100 Subject: [PATCH] fix(typer): do not log locals Do not log locals as they may expose secrets, which is a security risk. Signed-off-by: Martin Basti --- cachi2/interface/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cachi2/interface/cli.py b/cachi2/interface/cli.py index d98771dfc..4a84dca6d 100644 --- a/cachi2/interface/cli.py +++ b/cachi2/interface/cli.py @@ -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 = "."