feat(scripts): 🐛 Make deploy.py output the yaml parsing errors.

This commit is contained in:
2025-03-16 00:19:42 -03:00
parent 76857b7dcb
commit 4788fff949
+1
View File
@@ -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!")