From 4788fff949a1e52897eac7c7ef83ac00771ee26e Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Sun, 16 Mar 2025 00:19:42 -0300 Subject: [PATCH] feat(scripts): :bug: Make `deploy.py` output the yaml parsing errors. --- scripts/deploy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deploy.py b/scripts/deploy.py index d14d0fb..ed60e70 100644 --- a/scripts/deploy.py +++ b/scripts/deploy.py @@ -50,6 +50,7 @@ with open("./k8s/bot.yml") as stream: os.system(f"microk8s kubectl exec bot-{data["spec"]["replicas"] - 1} -- uv run aerich upgrade") except yaml.YAMLError as exc: print("Could not read the amount of deployed shards.") + print(exc) print("Done!")