From b87a75e7adac44c2f3cd892a875ad43b6efa5402 Mon Sep 17 00:00:00 2001 From: Martin Wacker Date: Wed, 15 Nov 2023 17:52:34 +0100 Subject: [PATCH] more verbose logging in setup --- setup/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup/__main__.py b/setup/__main__.py index c2320f4f..a10211a1 100644 --- a/setup/__main__.py +++ b/setup/__main__.py @@ -88,8 +88,10 @@ async def main(force: bool | None = None) -> None: await deploy_attributes() if force_install: + logging.info("Force install requested") template_data: dict[str, Any] = {} if "-" in sys.argv: + logging.info("Reading setup file from stdin") raw_data = sys.stdin.read() try: template_data = json_loads(raw_data) @@ -98,6 +100,7 @@ async def main(force: bool | None = None) -> None: critical_error("Invalid setup file provided") elif os.path.exists("/template.json"): + logging.info("Reading setup file from /template.json") try: raw_data = Path("/template.json").read_text() template_data = json_loads(raw_data)