diff --git a/lea/cli.py b/lea/cli.py index b9d9367..de70d06 100644 --- a/lea/cli.py +++ b/lea/cli.py @@ -7,7 +7,11 @@ import lea -app = typer.Typer() +app = typer.Typer( + # We set this to False to avoid showing locals in the traceback, which can be a security risk + # if the code is running in production. + pretty_exceptions_show_locals=False +) def validate_env_path(env_path: str | None):